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