Files
haikuports/haiku-apps/armyknife/armyknife-4.3.0.recipe
2015-08-04 12:08:31 -04:00

53 lines
1.3 KiB
Bash

SUMMARY="The all-in-one metadata editor for audio and MPEG files"
DESCRIPTION="ArmyKnife is an application that lets you edit the metadata of \
audio and MPEG files, both Haiku file attributes and in-file ID3 tags. You can \
copy data to and from ID3 tags and attributes, and rename files according to \
attributes or fill attributes according to file name.
Now also with support for cover art!"
HOMEPAGE="https://github.com/HaikuArchives/ArmyKnife"
SOURCE_URI="git://github.com/HaikuArchives/ArmyKnife.git#49f9a12cf288b061449edf5049e5de6a6501093c"
COPYRIGHT="2000-2001 Jason Burgess"
LICENSE="MIT"
REVISION="3"
ARCHITECTURES="x86_gcc2 !x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 !x86"
PROVIDES="
armyknife = $portVersion
app:ArmyKnife = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libtag$secondaryArchSuffix
lib:libsanta$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
taglib${secondaryArchSuffix}_devel
libsanta${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:find
cmd:make
cmd:unzip
cmd:xargs
cmd:zip
"
BUILD()
{
make $jobArgs
}
INSTALL()
{
make zipfile
mkdir -p $appsDir
unzip release/ArmyKnife-*.zip -d $appsDir
addAppDeskbarSymlink $appsDir/ArmyKnife/ArmyKnife
}