wok annotate xorg-xkbutils/receipt @ rev 25443
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 03 09:28:15 2022 +0000 (2022-09-03) |
parents | fb9d5030d826 |
children |
rev | line source |
---|---|
pankso@3019 | 1 # SliTaz package receipt. |
pankso@3019 | 2 |
pankso@3019 | 3 PACKAGE="xorg-xkbutils" |
Hans-G?nter@22291 | 4 VERSION="1.0.4" |
pankso@3019 | 5 CATEGORY="x-window" |
pankso@3019 | 6 SHORT_DESC="Xorg keyboard utility." |
pankso@3019 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15579 | 8 LICENSE="MIT" |
Hans-G?nter@22291 | 9 WEB_SITE="https://www.x.org/wiki/" |
Hans-G?nter@22291 | 10 |
pankso@3019 | 11 SOURCE="xkbutils" |
gokhlayeh@6993 | 12 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@3019 | 13 WGET_URL="$XORG_MIRROR/app/$TARBALL" |
pankso@3019 | 14 |
pascal@15579 | 15 DEPENDS="xorg-libXaw xorg-xkeyboard-config" |
Hans-G?nter@22291 | 16 BUILD_DEPENDS="xorg-libXaw-dev xorg-libxkbfile-dev" |
pascal@15579 | 17 |
pascal@24072 | 18 current_version() |
pascal@24072 | 19 { |
pascal@24072 | 20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24072 | 21 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24072 | 22 } |
pascal@24072 | 23 |
pankso@3019 | 24 # Rules to configure and make the package. |
pankso@3019 | 25 compile_rules() |
pankso@3019 | 26 { |
Hans-G?nter@22291 | 27 ./configure \ |
Hans-G?nter@22291 | 28 --prefix=/usr \ |
Hans-G?nter@22291 | 29 --sysconfdir=/etc \ |
Hans-G?nter@22291 | 30 --mandir=/usr/share/man \ |
Hans-G?nter@22291 | 31 --localstatedir=/var \ |
Hans-G?nter@22291 | 32 $CONFIGURE_ARGS && |
Hans-G?nter@22291 | 33 make && |
Hans-G?nter@22291 | 34 make DESTDIR=$DESTDIR install |
pankso@3019 | 35 } |
pankso@3019 | 36 |
pankso@3019 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3019 | 38 genpkg_rules() |
pankso@3019 | 39 { |
pankso@3019 | 40 mkdir -p $fs/usr |
pascal@15579 | 41 cp -a $install/usr/bin $fs/usr |
pankso@3019 | 42 } |