libxpm: add new recipe

This commit is contained in:
Sergei Reznikov
2018-10-09 14:16:28 +03:00
parent 0216313b06
commit 5fae408659

View File

@@ -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
}