From 00785a4801d726e869d17c8e70ed24ed421bc125 Mon Sep 17 00:00:00 2001 From: fbrosson Date: Thu, 25 Feb 2016 22:46:35 +0000 Subject: [PATCH] lsdvd: create recipe. --- media-video/lsdvd/lsdvd-0.17.recipe | 44 +++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 media-video/lsdvd/lsdvd-0.17.recipe diff --git a/media-video/lsdvd/lsdvd-0.17.recipe b/media-video/lsdvd/lsdvd-0.17.recipe new file mode 100644 index 000000000..cbcb38837 --- /dev/null +++ b/media-video/lsdvd/lsdvd-0.17.recipe @@ -0,0 +1,44 @@ +SUMMARY="Utility for getting info out of DVDs" +DESCRIPTION="lsdvd allows to check the contents of the DVD as well as \ +information about particular tracks such as audio and subtitle languages." +HOMEPAGE="https://sourceforge.net/projects/lsdvd" +COPYRIGHT="2002-2014 Chris Phillips, Petter Reinholdtsen, Steve Dibb" +LICENSE="GNU GPL v2" +REVISION="1" +SOURCE_URI="http://downloads.sf.net/lsdvd/lsdvd-$portVersion.tar.gz" +CHECKSUM_SHA256="7d2c5bd964acd266b99a61d9054ea64e01204e8e3e1a107abe41b1274969e488" + +ARCHITECTURES="!x86_gcc2 x86 x86_64" +SECONDARY_ARCHITECTURES="!x86_gcc2 x86" + +PROVIDES=" + lsdvd$secondaryArchSuffix = $portVersion + cmd:lsdvd = $portVersion + " +REQUIRES=" + haiku$secondaryArchSuffix + lib:libdvdread$secondaryArchSuffix + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + devel:libdvdread$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 +}