mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
Added filecropper recipe, work by GCI2013 student Adrian Jelen
This commit is contained in:
37
haiku-apps/filecropper/filecropper-1.recipe
Normal file
37
haiku-apps/filecropper/filecropper-1.recipe
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user