wok-stable annotate gmpc/receipt @ rev 7361
Up: busybox to 1.17.4.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Nov 23 03:15:08 2010 +0000 (2010-11-23) |
parents | 9f19aee613be |
children | b7319995b37e |
rev | line source |
---|---|
jozee@4501 | 1 # SliTaz package receipt. |
jozee@4501 | 2 |
jozee@4501 | 3 PACKAGE="gmpc" |
jozee@4501 | 4 VERSION="0.19.1" |
jozee@4501 | 5 CATEGORY="multimedia" |
jozee@4501 | 6 MAINTAINER="jozee@slitaz.org" |
jozee@4501 | 7 SHORT_DESC="A GTK2 client for MPD" |
jozee@4501 | 8 WEB_SITE="http://gmpc.wikia.com/wiki/Gnome_Music_Player_Client" |
pascal@5029 | 9 DEPENDS="libglade libmpd curl xorg-libSM libsoup libsexy mpd sqlite libtasn1" |
jozee@4501 | 10 BUILD_DEPENDS="gob2 intltool libglade-dev libmpd libmpd-dev curl-dev xorg-libSM-dev libsoup-dev libsexy-dev xcb-util-dev util-linux-ng-uuid-dev" |
jozee@4501 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@4501 | 12 WGET_URL="http://download.sarine.nl/Programs/${PACKAGE}/${VERSION}/$TARBALL" |
jozee@4501 | 13 TAGS="" |
jozee@4501 | 14 |
jozee@4501 | 15 # Rules to configure and make the package. |
jozee@4501 | 16 |
jozee@4501 | 17 compile_rules() { |
jozee@4501 | 18 cd $src |
jozee@4501 | 19 ./configure \ |
jozee@4501 | 20 --prefix=/usr \ |
jozee@4501 | 21 --enable-system-libsexy \ |
jozee@4501 | 22 --disable-mmkeys \ |
pascal@5001 | 23 --disable-shave && |
pascal@5001 | 24 make || return 1 |
jozee@4502 | 25 sed -i 's|GNOME;AudioVideo;|GTK;AudioVideo;Player;|' data/${PACKAGE}.desktop |
jozee@4501 | 26 make DESTDIR=$PWD/_pkg install |
jozee@4501 | 27 } |
jozee@4501 | 28 |
jozee@4501 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@4501 | 30 genpkg_rules() |
jozee@4501 | 31 { |
jozee@4501 | 32 mkdir -p $fs/usr/share/icons/hicolor |
jozee@4501 | 33 cp -a $_pkg/usr/bin $fs/usr |
jozee@4501 | 34 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share |
jozee@4501 | 35 cp -a $_pkg/usr/share/icons/hicolor/16x16 $fs/usr/share/icons/hicolor |
jozee@4501 | 36 |
jozee@4501 | 37 } |