wok-current annotate gnome-alsamixer/receipt @ rev 20102

Add plsh & pypdf2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 09 13:07:28 2017 +0200 (2017-10-09)
parents
children 8e449fe1df2e
rev   line source
al@19128 1 # SliTaz package receipt.
al@19128 2
al@19128 3 PACKAGE="gnome-alsamixer"
al@19128 4 VERSION="0.9.7~cvs.20060916.ds.1"
al@19128 5 CATEGORY="sound"
al@19128 6 SHORT_DESC="ALSA sound mixer for GNOME"
al@19128 7 MAINTAINER="al.bobylev@gmail.com"
al@19128 8 LICENSE="GPL2"
al@19128 9 WEB_SITE="https://packages.debian.org/en/sid/gnome-alsamixer"
al@19128 10 TARBALL="${PACKAGE}_$VERSION.orig.tar.gz"
al@19128 11 WGET_URL="http://http.debian.net/debian/pool/main/g/$PACKAGE/$TARBALL"
al@19128 12 EXTRA_URL="${WGET_URL/.orig/-5.debian}"
al@19128 13
al@19128 14 DEPENDS="gtk+ libgnomeui libgnome-keyring"
al@19128 15 BUILD_DEPENDS="automake autoconf glib dbus-dev libgnomeui-dev libgnome-dev \
al@19128 16 GConf-dev alsa-lib-dev"
al@19128 17
al@19128 18 # Rules to configure and make the package.
al@19128 19 compile_rules()
al@19128 20 {
al@19128 21 if [ ! -f "$SRC/$(basename "$EXTRA_URL")" ]; then
al@19128 22 wget $EXTRA_URL -P $SRC
al@19128 23 fi
al@19128 24
al@19128 25 tar -xzf $SRC/$(basename "$EXTRA_URL")
al@19128 26
al@19128 27 while read i; do
al@19128 28 patch -p1 -i $src/debian/patches/$i
al@19128 29 done < $src/debian/patches/series
al@19128 30
al@19128 31 cp $stuff/ru.po $src/po
al@19128 32 sed -i 's|pt_BR|& ru|' $src/configure.ac
al@19128 33
al@19128 34 ./autogen.sh
al@19128 35 make && make install
al@19128 36
al@19128 37 mkdir -p $install/usr/share/applications $install/usr/share/man/man1
al@19128 38 cp -a $src/debian/$PACKAGE.desktop $install/usr/share/applications
al@19128 39 cp -a $src/debian/$PACKAGE.1 $install/usr/share/man/man1
al@19128 40 gzip -9 $install/usr/share/man/man1/$PACKAGE.1
al@19128 41 }
al@19128 42
al@19128 43 # Rules to gen a SliTaz package suitable for Tazpkg.
al@19128 44 genpkg_rules()
al@19128 45 {
al@19128 46 cp -a $install/* $fs
al@19128 47 find $fs -name '*.xpm' -delete
al@19128 48 }