wok-current view gmpc/receipt @ rev 21381
updated lua5.1 and lua5.1-dev (5.1.4 -> 5.1.5)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 22 11:00:16 2019 +0100 (2019-04-22) |
parents | 9f9a3ea6608c |
children | b29edd818c5e |
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="https://gmpclient.org"
11 WGET_URL="http://download.sarine.nl/Programs/${PACKAGE}/${VERSION%.*}/$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 flex"
18 case "$ARCH" in
19 i?86) BUILD_DEPENDS="$BUILD_DEPENDS vala"
20 esac
22 # Rules to configure and make the package.
23 compile_rules() {
24 ./configure \
25 --enable-system-libsexy \
26 --disable-shave \
27 --disable-unique \
28 $CONFIGURE_ARGS &&
29 make || return 1
30 sed -i 's|GNOME;AudioVideo;|GTK;AudioVideo;Player;|' data/${PACKAGE}.desktop
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share/icons/hicolor
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/share/$PACKAGE $fs/usr/share
40 cp -a $install/usr/share/icons/hicolor/16x16 \
41 $fs/usr/share/icons/hicolor
43 }