wok-current diff gnome-alsamixer/receipt @ rev 19128
Add gnome-alsamixer, pngrewrite, lcms2, pngquant; up pngcrush(1.8.1)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu May 12 00:24:45 2016 +0300 (2016-05-12) |
parents | |
children | 8e449fe1df2e |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gnome-alsamixer/receipt Thu May 12 00:24:45 2016 +0300 1.3 @@ -0,0 +1,48 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="gnome-alsamixer" 1.7 +VERSION="0.9.7~cvs.20060916.ds.1" 1.8 +CATEGORY="sound" 1.9 +SHORT_DESC="ALSA sound mixer for GNOME" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="GPL2" 1.12 +WEB_SITE="https://packages.debian.org/en/sid/gnome-alsamixer" 1.13 +TARBALL="${PACKAGE}_$VERSION.orig.tar.gz" 1.14 +WGET_URL="http://http.debian.net/debian/pool/main/g/$PACKAGE/$TARBALL" 1.15 +EXTRA_URL="${WGET_URL/.orig/-5.debian}" 1.16 + 1.17 +DEPENDS="gtk+ libgnomeui libgnome-keyring" 1.18 +BUILD_DEPENDS="automake autoconf glib dbus-dev libgnomeui-dev libgnome-dev \ 1.19 +GConf-dev alsa-lib-dev" 1.20 + 1.21 +# Rules to configure and make the package. 1.22 +compile_rules() 1.23 +{ 1.24 + if [ ! -f "$SRC/$(basename "$EXTRA_URL")" ]; then 1.25 + wget $EXTRA_URL -P $SRC 1.26 + fi 1.27 + 1.28 + tar -xzf $SRC/$(basename "$EXTRA_URL") 1.29 + 1.30 + while read i; do 1.31 + patch -p1 -i $src/debian/patches/$i 1.32 + done < $src/debian/patches/series 1.33 + 1.34 + cp $stuff/ru.po $src/po 1.35 + sed -i 's|pt_BR|& ru|' $src/configure.ac 1.36 + 1.37 + ./autogen.sh 1.38 + make && make install 1.39 + 1.40 + mkdir -p $install/usr/share/applications $install/usr/share/man/man1 1.41 + cp -a $src/debian/$PACKAGE.desktop $install/usr/share/applications 1.42 + cp -a $src/debian/$PACKAGE.1 $install/usr/share/man/man1 1.43 + gzip -9 $install/usr/share/man/man1/$PACKAGE.1 1.44 +} 1.45 + 1.46 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.47 +genpkg_rules() 1.48 +{ 1.49 + cp -a $install/* $fs 1.50 + find $fs -name '*.xpm' -delete 1.51 +}