From 5fae4086598713d985b1ed05fd8963593d93cdb5 Mon Sep 17 00:00:00 2001 From: Sergei Reznikov Date: Tue, 9 Oct 2018 14:16:28 +0300 Subject: [PATCH] libxpm: add new recipe --- media-libs/libxmp/libxmp-4.4.1.recipe | 62 +++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 media-libs/libxmp/libxmp-4.4.1.recipe diff --git a/media-libs/libxmp/libxmp-4.4.1.recipe b/media-libs/libxmp/libxmp-4.4.1.recipe new file mode 100644 index 000000000..c3479fe96 --- /dev/null +++ b/media-libs/libxmp/libxmp-4.4.1.recipe @@ -0,0 +1,62 @@ +SUMMARY="A library that renders module files to PCM data" +DESCRIPTION="Libxmp is a library that renders module files to PCM data. It \ +supports over 90 mainstream and obscure module formats including Protracker \ +(MOD), Scream Tracker 3 (S3M), Fast Tracker II (XM), and Impulse Tracker (IT). + +Many compressed module formats are supported, including popular Unix, DOS, +and Amiga file packers including gzip, bzip2, SQSH, Powerpack, etc." +HOMEPAGE="http://xmp.sourceforge.net/" +COPYRIGHT="1996-2016 Claudio Matsuoka and Hipolito Carraro Jr" +LICENSE="GNU LGPL v2.1" +REVISION="1" +SOURCE_URI="https://github.com/cmatsuoka/libxmp/archive/libxmp-$portVersion.tar.gz" +CHECKSUM_SHA256="b7257c0b430daa07f3dfbca0480a09c09412eb2e202ec5370ead03cb674ad3cc" +SOURCE_DIR="libxmp-libxmp-$portVersion" + +ARCHITECTURES="?x86 ?x86_gcc2 x86_64" +SECONDARY_ARCHITECTURES="?x86" + +PROVIDES=" + libxmp$secondaryArchSuffix = $portVersion + lib:libxmp$secondaryArchSuffix = 4.4.1 compat >= 4 + " +REQUIRES=" + haiku$secondaryArchSuffix + " + +PROVIDES_devel=" + libxmp${secondaryArchSuffix}_devel = $portVersion compat >= 4.4.1 + devel:libxmp$secondaryArchSuffix = $portVersion compat >= 4.4.1 + + " +REQUIRES_devel=" + libxmp$secondaryArchSuffix == $portVersion base + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + " +BUILD_PREREQUIRES=" + cmd:autoconf + cmd:gcc$secondaryArchSuffix + cmd:ld$secondaryArchSuffix + cmd:libtool + cmd:make + " + +BUILD() +{ + autoconf + runConfigure ./configure + make +} + +INSTALL() +{ + make install + + prepareInstalledDevelLib libxmp + fixPkgconfig + + packageEntries devel $developDir +}