mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
* Fixed PROVIDES/*REQUIRES entries * Added vcs hashes to the ports needing it in the SRC_URI * Made single executable apps install to the top level $appsDir * Added patches for gcc4 versions of most apps * Added patches for apps that couldn't build on any arch ( even though they were marked as working :( ) * Other misc fixes that I've forgotten already because I'm sick of looking at this directory
44 lines
841 B
Plaintext
44 lines
841 B
Plaintext
DESCRIPTION="About FileCropper:
|
|
Truncates files of any kind. Cuts off everything from a given offset
|
|
(bytes) to the end of the file. (GUI app)."
|
|
SUMMARY="Truncates files of any kind."
|
|
COPYRIGHT="2002 Maurice Michalski"
|
|
LICENSE="MIT"
|
|
HOMEPAGE="https://github.com/HaikuArchives/FileCropper"
|
|
SRC_URI="git://github.com/HaikuArchives/FileCropper.git#0dde0f752a"
|
|
REVISION="2"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
|
|
|
|
PROVIDES="
|
|
filecropper = $portVersion
|
|
app:filecropper = $portVersion
|
|
"
|
|
|
|
REQUIRES="
|
|
haiku >= $haikuVersion
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel >= $haikuVersion
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc
|
|
cmd:xres
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
g++ app.cpp mainWindow.cpp -lbe -o FileCropper
|
|
xres -o FileCropper FileCropper.rsrc
|
|
mimeset -f FileCropper
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $appsDir
|
|
cp FileCropper $appsDir
|
|
addAppDeskbarSymlink $appsDir/FileCropper
|
|
}
|