wok view gnome-alsamixer/receipt @ rev 24999

updated nmap (7.80 -> 7.92)
author Hans-G?nter Theisgen
date Mon May 16 13:38:34 2022 +0100 (2022-05-16)
parents 8e449fe1df2e
children d66160614dc4
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 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/*} 2>/dev/null | \
23 sed "/latest/d;/${PACKAGE}_/!d;/orig/!d;s|.*${PACKAGE}_\\(.*\\).orig.*\".*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 if [ ! -f "$SRC/$(basename "$EXTRA_URL")" ]; then
30 wget $EXTRA_URL -P $SRC
31 fi
33 tar -xzf $SRC/$(basename "$EXTRA_URL")
35 while read i; do
36 patch -p1 -i $src/debian/patches/$i
37 done < $src/debian/patches/series
39 cp $stuff/ru.po $src/po
40 sed -i 's|pt_BR|& ru|' $src/configure.ac
42 ./autogen.sh
43 make && make install
45 mkdir -p $install/usr/share/applications $install/usr/share/man/man1
46 cp -a $src/debian/$PACKAGE.desktop $install/usr/share/applications
47 cp -a $src/debian/$PACKAGE.1 $install/usr/share/man/man1
48 gzip -9 $install/usr/share/man/man1/$PACKAGE.1
49 }
51 # Rules to gen a SliTaz package suitable for Tazpkg.
52 genpkg_rules()
53 {
54 cp -a $install/* $fs
55 find $fs -name '*.xpm' -delete
56 }