mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
45 lines
849 B
Plaintext
45 lines
849 B
Plaintext
SUMMARY="Truncates files of any kind."
|
|
DESCRIPTION="
|
|
FileCropper is a GUI app which truncates files of any kind. It Cuts off \
|
|
everything from a given offset (bytes) to the end of the file.
|
|
"
|
|
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
|
|
}
|