mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
libmpdclient: add recipe for the latest release
This commit is contained in:
79
media-libs/libmpdclient/libmpdclient-2.10.recipe
Normal file
79
media-libs/libmpdclient/libmpdclient-2.10.recipe
Normal file
@@ -0,0 +1,79 @@
|
||||
SUMMARY="A library for interfacing Music Player Daemon"
|
||||
DESCRIPTION="Music Player Daemon (MPD) is a flexible, powerful, server-side application \
|
||||
for playing music. Through plugins and libraries it can play a variety \
|
||||
of sound files while being controlled by its network protocol."
|
||||
HOMEPAGE="http://www.musicpd.org/"
|
||||
COPYRIGHT="2003-2014 The Music Player Daemon Project"
|
||||
LICENSE="BSD (3-clause)"
|
||||
REVISION="2"
|
||||
SOURCE_URI="http://www.musicpd.org/download/libmpdclient/2/libmpdclient-2.10.tar.gz"
|
||||
CHECKSUM_SHA256="bf88ddd9beceadef11144811adaabe45008005af02373595daa03446e6b1bf3d"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
libmpdclient$secondaryArchSuffix = $portVersion
|
||||
lib:libmpdclient$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
glib2$secondaryArchSuffix >= 2
|
||||
lib:libexpat$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libmpdclient${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libmpdclient${secondaryArchSuffix} = 0.0.0 compat >= 0
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libmpdclient${secondaryArchSuffix} == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libglib_2.0$secondaryArchSuffix
|
||||
devel:libexpat$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:autoheader
|
||||
cmd:automake
|
||||
cmd:doxygen
|
||||
cmd:gcc${secondaryArchSuffix}
|
||||
cmd:ld${secondaryArchSuffix}
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:m4
|
||||
cmd:awk
|
||||
cmd:ranlib
|
||||
cmd:sed
|
||||
cmd:find
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
export PKG_CONFIG_LIBDIR="`finddir B_SYSTEM_DIRECTORY`/$relativeDevelopLibDir/pkgconfig"
|
||||
|
||||
export NOCONFIGURE=1
|
||||
./autogen.sh
|
||||
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
export PKG_CONFIG_LIBDIR="`finddir B_SYSTEM_DIRECTORY`/$relativeDevelopLibDir/pkgconfig"
|
||||
|
||||
make install
|
||||
|
||||
# prepare devel/lib
|
||||
prepareInstalledDevelLibs libmpdclient
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
Reference in New Issue
Block a user