wok annotate xorg-xkeyboard-config/receipt @ rev 24635
updated gutenprint and gutenprint-dev (5.3.3 -> 5.3.4)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 09 08:09:06 2022 +0100 (2022-03-09) |
parents | 163749a66454 |
children |
rev | line source |
---|---|
pankso@451 | 1 # SliTaz package receipt. |
pankso@451 | 2 |
pankso@451 | 3 PACKAGE="xorg-xkeyboard-config" |
Hans-G?nter@22292 | 4 VERSION="2.5.1" |
pankso@451 | 5 CATEGORY="x-window" |
pankso@451 | 6 SHORT_DESC="Xorg server keyboard definition files." |
pankso@451 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15579 | 8 LICENSE="MIT" |
Hans-G?nter@22292 | 9 WEB_SITE="https://www.x.org/wiki/" |
Hans-G?nter@22292 | 10 |
pankso@451 | 11 SOURCE="xkeyboard-config" |
pankso@451 | 12 TARBALL="$SOURCE-$VERSION.tar.bz2" |
Hans-G?nter@22292 | 13 WGET_URL="$XORG_MIRROR/data/$TARBALL" |
pankso@451 | 14 |
pascal@15579 | 15 DEPENDS="xorg-xkbcomp" |
Hans-G?nter@22292 | 16 BUILD_DEPENDS="intltool perl-xml-parser xorg-libX11-dev xorg-xkbcomp xorg-xproto" |
Hans-G?nter@22292 | 17 |
Hans-G?nter@22292 | 18 HOST_ARCH="i486 arm" |
pascal@15579 | 19 |
pascal@24072 | 20 current_version() |
pascal@24072 | 21 { |
pascal@24072 | 22 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24072 | 23 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24072 | 24 } |
pascal@24072 | 25 |
pankso@16064 | 26 # Handle cross compilation. Use build host: xorg-xkbcomp perl-xml-parser |
pankso@16064 | 27 case "$ARCH" in |
pankso@16064 | 28 arm) BUILD_DEPENDS="xorg-xproto xorg-libX11-dev" ;; |
pankso@16064 | 29 esac |
pankso@16064 | 30 |
pankso@451 | 31 # Rules to configure and make the package. |
pankso@451 | 32 compile_rules() |
pankso@451 | 33 { |
Hans-G?nter@22292 | 34 ./configure \ |
Hans-G?nter@22292 | 35 --sysconfdir=/etc \ |
Hans-G?nter@22292 | 36 --localstatedir=/var \ |
Hans-G?nter@22292 | 37 --with-xkb-base=/usr/share/X11/xkb \ |
Hans-G?nter@22292 | 38 --with-xkb-rules-symlink=xorg \ |
pankso@16064 | 39 $CONFIGURE_ARGS && |
Hans-G?nter@22292 | 40 make && |
Hans-G?nter@22292 | 41 make install |
pankso@451 | 42 } |
pankso@451 | 43 |
pankso@451 | 44 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@451 | 45 genpkg_rules() |
pankso@451 | 46 { |
pankso@451 | 47 mkdir -p $fs/usr/share |
Hans-G?nter@22292 | 48 cp -a $install/usr/share/X11 $fs/usr/share |
pankso@451 | 49 } |