diff --git a/haiku-apps/filecropper/filecropper-1.recipe b/haiku-apps/filecropper/filecropper-1.recipe new file mode 100644 index 000000000..58ebaec8b --- /dev/null +++ b/haiku-apps/filecropper/filecropper-1.recipe @@ -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 +}