Added filecropper recipe, work by GCI2013 student Adrian Jelen

This commit is contained in:
Scott McCreary
2013-11-24 21:58:33 +00:00
parent 620d394028
commit 7b22722669

View File

@@ -0,0 +1,37 @@
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. Cuts off everything from a given offset (bytes) to the end of the file. (GUI app)."
HOMEPAGE="https://github.com/HaikuArchives/FileCropper"
SRC_URI="git+git://github.com/HaikuArchives/FileCropper.git"
REVISION="1"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
PROVIDES="
filecropper = $portVersion
app:filecropper = $portVersion"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
cmd:gcc
cmd:xres"
REQUIRES="
haiku >= $haikuVersion"
COPYRIGHT="2002 Maurice Michalski"
LICENSE="MIT"
BUILD()
{
g++ app.cpp mainWindow.cpp -lbe -o FileCropper
xres -o FileCropper FileCropper.rsrc
}
INSTALL()
{
mkdir -p $appsDir
cp FileCropper $appsDir
addAppDeskbarSymlink $appsDir/FileCropper
}