wok-6.x annotate gmpc/receipt @ rev 14607
Up: alsa-lib to 1.0.27.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri May 31 20:05:12 2013 +0000 (2013-05-31) |
parents | 73641efed1cc |
children | 408c87fa22ca |
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" |
pascal@12626 | 10 BUILD_DEPENDS="gob2 intltool libglade-dev libmpd libmpd-dev curl-dev sqlite-dev \ |
pascal@12626 | 11 xorg-libSM-dev libsoup-dev libsexy-dev xcb-util-dev util-linux-uuid-dev" |
jozee@4501 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@4501 | 13 WGET_URL="http://download.sarine.nl/Programs/${PACKAGE}/${VERSION}/$TARBALL" |
jozee@4501 | 14 TAGS="" |
jozee@4501 | 15 |
jozee@4501 | 16 # Rules to configure and make the package. |
jozee@4501 | 17 |
jozee@4501 | 18 compile_rules() { |
jozee@4501 | 19 cd $src |
jozee@4501 | 20 ./configure \ |
jozee@4501 | 21 --prefix=/usr \ |
jozee@4501 | 22 --enable-system-libsexy \ |
jozee@4501 | 23 --disable-mmkeys \ |
gokhlayeh@11573 | 24 --disable-shave \ |
gokhlayeh@11573 | 25 $CONFIGURE_ARGS && |
pascal@5001 | 26 make || return 1 |
jozee@4502 | 27 sed -i 's|GNOME;AudioVideo;|GTK;AudioVideo;Player;|' data/${PACKAGE}.desktop |
jozee@4501 | 28 make DESTDIR=$PWD/_pkg install |
jozee@4501 | 29 } |
jozee@4501 | 30 |
jozee@4501 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@4501 | 32 genpkg_rules() |
jozee@4501 | 33 { |
jozee@4501 | 34 mkdir -p $fs/usr/share/icons/hicolor |
jozee@4501 | 35 cp -a $_pkg/usr/bin $fs/usr |
jozee@4501 | 36 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share |
jozee@4501 | 37 cp -a $_pkg/usr/share/icons/hicolor/16x16 $fs/usr/share/icons/hicolor |
jozee@4501 | 38 |
jozee@4501 | 39 } |