wok-current view gnome-alsamixer/receipt @ rev 23671

updated stoqdrivers (0.9.8.2 -> 1.8.1)
author Hans-G?nter Theisgen
date Sun Apr 26 07:56:47 2020 +0100 (2020-04-26)
parents 73e9a7d984fc
children b78e79c31b1f
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}"
13 EXTRA_SOURCE_FILES="$(basename $EXTRA_URL)"
15 DEPENDS="gtk+ libgnomeui libgnome-keyring"
16 BUILD_DEPENDS="automake autoconf glib dbus-dev libgnomeui-dev libgnome-dev \
17 GConf-dev alsa-lib-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 if [ ! -f "$SRC/$(basename "$EXTRA_URL")" ]; then
23 wget $EXTRA_URL -P $SRC
24 fi
26 tar -xzf $SRC/$(basename "$EXTRA_URL")
28 while read i; do
29 patch -p1 -i $src/debian/patches/$i
30 done < $src/debian/patches/series
32 cp $stuff/ru.po $src/po
33 sed -i 's|pt_BR|& ru|' $src/configure.ac
35 ./autogen.sh
36 make && make install
38 mkdir -p $install/usr/share/applications $install/usr/share/man/man1
39 cp -a $src/debian/$PACKAGE.desktop $install/usr/share/applications
40 cp -a $src/debian/$PACKAGE.1 $install/usr/share/man/man1
41 gzip -9 $install/usr/share/man/man1/$PACKAGE.1
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 cp -a $install/* $fs
48 find $fs -name '*.xpm' -delete
49 }