wok view gnome-alsamixer/receipt @ rev 19495

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