wok annotate gmpc/receipt @ rev 16271
ARM: add gmpc with needed libs
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Apr 05 22:48:39 2014 +0200 (2014-04-05) |
parents | 408c87fa22ca |
children | 8139105f9285 |
rev | line source |
---|---|
jozee@4501 | 1 # SliTaz package receipt. |
jozee@4501 | 2 |
jozee@4501 | 3 PACKAGE="gmpc" |
pankso@16271 | 4 VERSION="11.8.16" |
jozee@4501 | 5 CATEGORY="multimedia" |
jozee@4501 | 6 MAINTAINER="jozee@slitaz.org" |
pascal@15001 | 7 LICENSE="GPL2" |
jozee@4501 | 8 SHORT_DESC="A GTK2 client for MPD" |
pankso@16271 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@16271 | 10 WEB_SITE="http://gmpclient.org" |
pankso@16271 | 11 WGET_URL="http://download.sarine.nl/Programs/${PACKAGE}/11.8/$TARBALL" |
pankso@16271 | 12 HOST_ARCH="i486 arm" |
pankso@16271 | 13 |
pascal@5029 | 14 DEPENDS="libglade libmpd curl xorg-libSM libsoup libsexy mpd sqlite libtasn1" |
pankso@16271 | 15 BUILD_DEPENDS="gob2-dev libglade-dev libmpd libmpd-dev curl-dev sqlite-dev \ |
pascal@12626 | 16 xorg-libSM-dev libsoup-dev libsexy-dev xcb-util-dev util-linux-uuid-dev" |
jozee@4501 | 17 |
pankso@16271 | 18 case $ARCH in |
pankso@16271 | 19 i?86) BUILD_DEPENDS="$BUILD_DEPENDS vala" |
pankso@16271 | 20 esac |
jozee@4501 | 21 # Rules to configure and make the package. |
jozee@4501 | 22 compile_rules() { |
jozee@4501 | 23 ./configure \ |
jozee@4501 | 24 --enable-system-libsexy \ |
gokhlayeh@11573 | 25 --disable-shave \ |
pankso@16271 | 26 --disable-unique \ |
gokhlayeh@11573 | 27 $CONFIGURE_ARGS && |
pascal@5001 | 28 make || return 1 |
pankso@16271 | 29 sed -i 's|GNOME;AudioVideo;|GTK;AudioVideo;Player;|' data/${PACKAGE}.desktop |
pankso@16271 | 30 make install |
jozee@4501 | 31 } |
jozee@4501 | 32 |
jozee@4501 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@4501 | 34 genpkg_rules() |
jozee@4501 | 35 { |
jozee@4501 | 36 mkdir -p $fs/usr/share/icons/hicolor |
pascal@15001 | 37 cp -a $install/usr/bin $fs/usr |
pascal@15001 | 38 cp -a $install/usr/share/$PACKAGE $fs/usr/share |
pankso@16271 | 39 cp -a $install/usr/share/icons/hicolor/16x16 \ |
pankso@16271 | 40 $fs/usr/share/icons/hicolor |
jozee@4501 | 41 |
jozee@4501 | 42 } |