wok-next view gmpc/receipt @ rev 20558
openmotif: fix syntax error in receipt
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 07 16:14:50 2018 +0300 (2018-04-07) |
parents | c4e53a39395a |
children | a5d7827e08cf |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gmpc"
4 VERSION="11.8.16"
5 CATEGORY="multimedia"
6 SHORT_DESC="A GTK2 client for MPD"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://gmpclient.org"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://download.sarine.nl/Programs/${PACKAGE}/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS_arm="gob2-dev libglade-dev libmpd libmpd-dev curl-dev \
15 sqlite3-dev xorg-libSM-dev libsoup-dev libsexy-dev xorg-xcb-util-dev \
16 util-linux-uuid-dev flex intltool"
17 BUILD_DEPENDS="gob2-dev libglade-dev libmpd libmpd-dev curl-dev sqlite3-dev \
18 xorg-libSM-dev libsoup-dev libsexy-dev xorg-xcb-util-dev util-linux-uuid-dev \
19 flex intltool vala"
20 SPLIT="gmpc-dev"
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 genpkg_rules() {
34 case $PACKAGE in
35 gmpc)
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
41 DEPENDS="libglade libmpd curl xorg-libSM libsoup libsexy mpd \
42 sqlite3 libtasn1"
43 ;;
44 *-dev)
45 mkdir -p $fs/usr/lib
46 cp -a $install/usr/include $fs/usr
47 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
48 ;;
49 esac
50 }