libmpdclient: cleanup, fix provide versions.

* enable x86.
This commit is contained in:
Jerome Duval
2017-06-03 13:30:41 +02:00
parent 108ff4711b
commit ffa2c39d54

View File

@@ -5,57 +5,45 @@ of sound files while being controlled by its network protocol."
HOMEPAGE="http://www.musicpd.org/"
COPYRIGHT="2003-2017 The Music Player Daemon Project"
LICENSE="BSD (3-clause)"
REVISION="1"
REVISION="2"
SOURCE_URI="https://github.com/MusicPlayerDaemon/libmpdclient/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="23ad110e82214eec700d77ab5d302c5fba357a7c9d82b7a7b4a8eb0f5a17ccd3"
ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="?x86"
PROVIDES="
libmpdclient$secondaryArchSuffix = $portVersion
lib:libmpdclient$secondaryArchSuffix = $portVersion
lib:libmpdclient$secondaryArchSuffix = 2.0.11 compat >= 2
"
REQUIRES="
haiku$secondaryArchSuffix
glib2$secondaryArchSuffix >= 2
lib:libexpat$secondaryArchSuffix
"
PROVIDES_devel="
libmpdclient${secondaryArchSuffix}_devel = $portVersion
devel:libmpdclient${secondaryArchSuffix} = 0.0.0 compat >= 0
devel:libmpdclient$secondaryArchSuffix = 2.0.11 compat >= 2
"
REQUIRES_devel="
libmpdclient${secondaryArchSuffix} == $portVersion base
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: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
@@ -65,8 +53,6 @@ BUILD()
INSTALL()
{
export PKG_CONFIG_LIBDIR="`finddir B_SYSTEM_DIRECTORY`/$relativeDevelopLibDir/pkgconfig"
make install
# prepare devel/lib