wok annotate gmpc/receipt @ rev 19685

Up tazpkg (942)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Feb 12 04:43:38 2017 +0200 (2017-02-12)
parents 9736e603f8a1
children 6e8b1bcb30e2
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"
pascal@16327 11 WGET_URL="http://download.sarine.nl/Programs/${PACKAGE}/${VERSION%.*}/$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@17757 16 xorg-libSM-dev libsoup-dev libsexy-dev xcb-util-dev util-linux-uuid-dev flex"
jozee@4501 17
pankso@16276 18 case "$ARCH" in
pankso@16271 19 i?86) BUILD_DEPENDS="$BUILD_DEPENDS vala"
pankso@16271 20 esac
pankso@16276 21
jozee@4501 22 # Rules to configure and make the package.
jozee@4501 23 compile_rules() {
jozee@4501 24 ./configure \
jozee@4501 25 --enable-system-libsexy \
gokhlayeh@11573 26 --disable-shave \
pankso@16271 27 --disable-unique \
gokhlayeh@11573 28 $CONFIGURE_ARGS &&
pascal@5001 29 make || return 1
pankso@16271 30 sed -i 's|GNOME;AudioVideo;|GTK;AudioVideo;Player;|' data/${PACKAGE}.desktop
pankso@16271 31 make install
jozee@4501 32 }
jozee@4501 33
jozee@4501 34 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@4501 35 genpkg_rules()
jozee@4501 36 {
jozee@4501 37 mkdir -p $fs/usr/share/icons/hicolor
pascal@15001 38 cp -a $install/usr/bin $fs/usr
pascal@15001 39 cp -a $install/usr/share/$PACKAGE $fs/usr/share
pankso@16271 40 cp -a $install/usr/share/icons/hicolor/16x16 \
pankso@16271 41 $fs/usr/share/icons/hicolor
jozee@4501 42
jozee@4501 43 }