wok view pnmixer/receipt @ rev 25601

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 16 18:06:38 2023 +0000 (10 months ago)
parents 5ea0ce1cecc0
children
line source
1 # SliTaz package receipt.
3 PACKAGE="pnmixer"
4 VERSION="0.7.2"
5 CATEGORY="utilities"
6 SHORT_DESC="System tray sound mixer."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="https://github.com/nicklan/pnmixer/wiki"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/nicklan/$PACKAGE/archive/v$VERSION/$TARBALL"
14 DEPENDS="alsa-lib atk bzlib cairo expat fontconfig freetype gcc-lib-base \
15 gdk-pixbuf glib glibc-base gtk+3 libffi libgio libnotify libpng \
16 libxcb pango pixman xorg-libX11 xorg-libXau xorg-libXcomposite \
17 xorg-libXcursor xorg-libXdamage xorg-libXdmcp xorg-libXext \
18 xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender zlib"
19 BUILD_DEPENDS="alsa-lib-dev cmake gettext glib-dev gtk+3-dev libnotify-dev \
20 xorg-libX11-dev"
22 # What is the latest version available today?
23 current_version()
24 {
25 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
26 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 cp $stuff/LINGUAS po/LINGUAS
34 mkdir build
35 cd build
36 cmake .. \
37 -DCMAKE_INSTALL_PREFIX=/usr &&
38 make &&
39 make install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 cp -a $install/* $fs
46 }