wok-current annotate xorg-xfontsel/receipt @ rev 24374
avrdude: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 05 17:11:25 2022 +0000 (2022-02-05) |
parents | 6fa24e4c1af3 |
children |
rev | line source |
---|---|
jozee@3024 | 1 # SliTaz package receipt. |
jozee@3024 | 2 |
jozee@3024 | 3 PACKAGE="xorg-xfontsel" |
Hans-G?nter@22285 | 4 VERSION="1.0.6" |
jozee@3024 | 5 CATEGORY="x-window" |
Hans-G?nter@22285 | 6 TAGS="utility xorg fonts" |
Hans-G?nter@22285 | 7 SHORT_DESC="Point and click selection utility of X11 font names." |
jozee@3024 | 8 MAINTAINER="jozee@slitaz.org" |
pascal@15579 | 9 LICENSE="MIT" |
Hans-G?nter@22285 | 10 WEB_SITE="https://www.x.org/wiki/" |
Hans-G?nter@22285 | 11 |
jozee@3024 | 12 SOURCE="xfontsel" |
jozee@3024 | 13 TARBALL="$SOURCE-$VERSION.tar.bz2" |
Hans-G?nter@22285 | 14 WGET_URL="$XORG_MIRROR/app/$TARBALL" |
jozee@3024 | 15 |
pascal@15103 | 16 DEPENDS="xorg-libXaw" |
pascal@15103 | 17 BUILD_DEPENDS="xorg-libXaw-dev" |
pascal@15103 | 18 |
pascal@24072 | 19 current_version() |
pascal@24072 | 20 { |
pascal@24072 | 21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24072 | 22 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24072 | 23 } |
pascal@24072 | 24 |
jozee@3024 | 25 # Rules to configure and make the package.ls sr |
jozee@3024 | 26 compile_rules() |
jozee@3024 | 27 { |
Hans-G?nter@22285 | 28 ./configure \ |
Hans-G?nter@22285 | 29 --prefix=/usr \ |
Hans-G?nter@22285 | 30 --mandir=/usr/share/man \ |
jozee@3024 | 31 $CONFIGURE_ARGS && |
jozee@3024 | 32 make && |
pascal@15103 | 33 make DESTDIR=$DESTDIR install |
jozee@3024 | 34 } |
jozee@3024 | 35 |
jozee@3024 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@3024 | 37 genpkg_rules() |
jozee@3024 | 38 { |
jozee@3024 | 39 mkdir -p $fs/usr/share |
pascal@15103 | 40 cp -a $install/usr/bin $fs/usr |
jozee@3024 | 41 } |