wok-next view gnome-alsamixer/receipt @ rev 21103
emacs: depends on emacs-common
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 03 11:21:15 2019 +0200 (2019-01-03) |
parents | f48456621a9d |
children |
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="gtk2 libgnomeui libgnome-keyring"
15 BUILD_DEPENDS="automake autoconf glib dbus-dev libgnomeui-dev libgnome-dev \
16 gconf-dev alsa-lib-dev"
18 compile_rules() {
19 if [ ! -f "$SRC/$(basename "$EXTRA_URL")" ]; then
20 wget $EXTRA_URL -P $SRC
21 fi
23 tar -xzf $SRC/$(basename "$EXTRA_URL")
25 while read i; do
26 patch -p1 -i $src/debian/patches/$i
27 done < $src/debian/patches/series
29 cp $stuff/ru.po $src/po
30 sed -i 's|pt_BR|& ru|' $src/configure.ac
32 ./autogen.sh
33 make &&
34 make install
36 mkdir -p $install/usr/share/applications $install/usr/share/man/man1
37 cp -a $src/debian/$PACKAGE.desktop $install/usr/share/applications
38 cp -a $src/debian/$PACKAGE.1 $install/usr/share/man/man1
39 gzip -9 $install/usr/share/man/man1/$PACKAGE.1
40 }
42 genpkg_rules() {
43 cp -a $install/* $fs
44 find $fs -name '*.xpm' -delete
45 }