mpd: bump version, debuginfo hpkg (#2205)

This commit is contained in:
miqlas
2018-02-13 09:15:16 +01:00
committed by Jérôme Duval
parent c0b79041e2
commit fa99091ce5
2 changed files with 19 additions and 3 deletions

View File

@@ -7,15 +7,23 @@ COPYRIGHT="2003-2017 The Music Player Daemon Project"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="http://www.musicpd.org/download/mpd/0.20/mpd-$portVersion.tar.xz"
CHECKSUM_SHA256="c69c4f67e665380ea3bbde6cff8958edc85f7cd40e7918ae5ce0a2184ca9eb40"
CHECKSUM_SHA256="29e1676288e61a8bee6b687d23ba6ca42ccec4dc87c6a0e81d119aea27dcd06a"
PATCHES="mpd-$portVersion.patchset"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
# On x86_gcc2 we don't want to install the commands in bin/<arch>/, but in bin/.
commandSuffix=$secondaryArchSuffix
commandBinDir=$binDir
if [ "$targetArchitecture" = x86_gcc2 ]; then
commandSuffix=
commandBinDir=$prefix/bin
fi
PROVIDES="
mpd$secondaryArchSuffix = $portVersion
cmd:mpd$secondaryArchSuffix = $portVersion
cmd:mpd$commandSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
@@ -145,9 +153,12 @@ BUILD_PREREQUIRES="
cmd:sed
"
defineDebugInfoPackage mpd$secondaryArchSuffix \
"$commandBinDir"/mpd
BUILD()
{
runConfigure ./configure
runConfigure --omit-dirs binDir ./configure --bindir=$commandBinDir
make $jobArgs
}
@@ -156,3 +167,8 @@ INSTALL()
{
make install
}
TEST()
{
make check
}