wok-current annotate xorg-xkeyboard-config/receipt @ rev 23409
updated perl-try-tiny (0.22 -> 0.30)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 01 07:04:07 2020 +0100 (2020-04-01) |
parents | 814c58f64f83 |
children | 5d79829fa876 |
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 |
pankso@16064 | 20 # Handle cross compilation. Use build host: xorg-xkbcomp perl-xml-parser |
pankso@16064 | 21 case "$ARCH" in |
pankso@16064 | 22 arm) BUILD_DEPENDS="xorg-xproto xorg-libX11-dev" ;; |
pankso@16064 | 23 esac |
pankso@16064 | 24 |
pankso@451 | 25 # Rules to configure and make the package. |
pankso@451 | 26 compile_rules() |
pankso@451 | 27 { |
Hans-G?nter@22292 | 28 ./configure \ |
Hans-G?nter@22292 | 29 --sysconfdir=/etc \ |
Hans-G?nter@22292 | 30 --localstatedir=/var \ |
Hans-G?nter@22292 | 31 --with-xkb-base=/usr/share/X11/xkb \ |
Hans-G?nter@22292 | 32 --with-xkb-rules-symlink=xorg \ |
pankso@16064 | 33 $CONFIGURE_ARGS && |
Hans-G?nter@22292 | 34 make && |
Hans-G?nter@22292 | 35 make install |
pankso@451 | 36 } |
pankso@451 | 37 |
pankso@451 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@451 | 39 genpkg_rules() |
pankso@451 | 40 { |
pankso@451 | 41 mkdir -p $fs/usr/share |
Hans-G?nter@22292 | 42 cp -a $install/usr/share/X11 $fs/usr/share |
pankso@451 | 43 } |