Merge pull request #490 from fbrosson/dvdbackup

dvdbackup: create recipe.
This commit is contained in:
waddlesplash
2016-03-01 21:12:10 -05:00

View File

@@ -0,0 +1,49 @@
SUMMARY="Command-line tool to backup DVDs"
DESCRIPTION="dvdbackup is a tool to rip video DVDs from the command line. It \
is small, fast and easy to use."
HOMEPAGE="http://dvdbackup.sourceforge.net/"
COPYRIGHT="2002 Olaf Beck
2008-2012 Benjamin Drung"
LICENSE="GNU GPL v3"
REVISION="1"
SOURCE_URI="http://downloads.sf.net/dvdbackup/dvdbackup-$portVersion.tar.gz"
CHECKSUM_SHA256="0a37c31cc6f2d3c146ec57064bda8a06cf5f2ec90455366cb250506bab964550"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="!x86_gcc2 x86"
PROVIDES="
dvdbackup$secondaryArchSuffix = $portVersion
cmd:dvdbackup = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libdvdread$secondaryArchSuffix
lib:libintl$secondaryArchSuffix
lib:libiconv$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libdvdread$secondaryArchSuffix
devel:libintl$secondaryArchSuffix
devel:libiconv$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:awk
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
cmd:pkg_config$secondaryArchSuffix
"
BUILD()
{
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
}