wok-current view sbxkb/receipt @ rev 24966
updated nettle and nettle-dev (3.5.1 -> 3.7.3)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 25 07:28:45 2022 +0100 (2022-04-25) |
parents | daaaf5face8a |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="sbxkb"
4 VERSION="0.7.6"
5 CATEGORY="utilities"
6 SHORT_DESC="Simple tray XKB indicator"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="https://web.archive.org/web/20110515003801/https://sourceforge.net/projects/staybox/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$SF_MIRROR/staybox/$TARBALL"
13 DEPENDS="atk bzlib cairo expat fontconfig freetype gcc-lib-base \
14 gdk-pixbuf glib glibc-base gtk+ libffi libgio libpng libxcb pango \
15 pixman xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor \
16 xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes \
17 xorg-libXinerama xorg-libXrandr xorg-libXrender zlib"
18 BUILD_DEPENDS="gtk+-dev"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - https://sourceforge.net/projects/staybox/files/ 2>/dev/null | \
24 sed '/scope="row/!d;/sbxkb/!d;s|.*/sbxkb-||;s|.tar.*||;q'
25 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
30 ./configure $CONFIGURE_ARGS && make && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $install/* $fs
37 }