wok view 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 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gmpc"
4 VERSION="11.8.16"
5 CATEGORY="multimedia"
6 MAINTAINER="jozee@slitaz.org"
7 LICENSE="GPL2"
8 SHORT_DESC="A GTK2 client for MPD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://gmpclient.org"
11 WGET_URL="http://download.sarine.nl/Programs/${PACKAGE}/11.8/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="libglade libmpd curl xorg-libSM libsoup libsexy mpd sqlite libtasn1"
15 BUILD_DEPENDS="gob2-dev libglade-dev libmpd libmpd-dev curl-dev sqlite-dev \
16 xorg-libSM-dev libsoup-dev libsexy-dev xcb-util-dev util-linux-uuid-dev"
18 case $ARCH in
19 i?86) BUILD_DEPENDS="$BUILD_DEPENDS vala"
20 esac
21 # Rules to configure and make the package.
22 compile_rules() {
23 ./configure \
24 --enable-system-libsexy \
25 --disable-shave \
26 --disable-unique \
27 $CONFIGURE_ARGS &&
28 make || return 1
29 sed -i 's|GNOME;AudioVideo;|GTK;AudioVideo;Player;|' data/${PACKAGE}.desktop
30 make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share/icons/hicolor
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/share/$PACKAGE $fs/usr/share
39 cp -a $install/usr/share/icons/hicolor/16x16 \
40 $fs/usr/share/icons/hicolor
42 }