wok annotate xorg-xkeyboard-config/receipt @ rev 16222
ARM add librsvg
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Mar 31 23:37:15 2014 +0200 (2014-03-31) |
parents | eb8067417980 |
children | 814c58f64f83 |
rev | line source |
---|---|
pankso@451 | 1 # SliTaz package receipt. |
pankso@451 | 2 |
pankso@451 | 3 PACKAGE="xorg-xkeyboard-config" |
slaxemulator@9569 | 4 VERSION="2.2.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" |
pankso@451 | 9 SOURCE="xkeyboard-config" |
pankso@451 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@451 | 11 WEB_SITE="http://www.x.org/" |
slaxemulator@9569 | 12 WGET_URL="http://xorg.freedesktop.org/releases/individual/data/$SOURCE/$TARBALL" |
pankso@16064 | 13 HOST_ARCH="i486 arm" |
pankso@451 | 14 |
pascal@15579 | 15 DEPENDS="xorg-xkbcomp" |
pascal@15579 | 16 BUILD_DEPENDS="perl-xml-parser xorg-xkbcomp xorg-xproto xorg-libX11-dev intltool" |
pascal@15579 | 17 |
pankso@16064 | 18 # Handle cross compilation. Use build host: xorg-xkbcomp perl-xml-parser |
pankso@16064 | 19 case "$ARCH" in |
pankso@16064 | 20 arm) BUILD_DEPENDS="xorg-xproto xorg-libX11-dev" ;; |
pankso@16064 | 21 esac |
pankso@16064 | 22 |
pankso@451 | 23 # Rules to configure and make the package. |
pankso@451 | 24 compile_rules() |
pankso@451 | 25 { |
pankso@16064 | 26 ./configure \ |
pankso@16064 | 27 --sysconfdir=/etc \ |
pankso@16064 | 28 --localstatedir=/var \ |
pankso@16064 | 29 --with-xkb-base=/usr/share/X11/xkb \ |
pankso@16064 | 30 --with-xkb-rules-symlink=xorg \ |
pankso@16064 | 31 $CONFIGURE_ARGS && |
pankso@16064 | 32 make && make install |
pankso@451 | 33 } |
pankso@451 | 34 |
pankso@451 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@451 | 36 genpkg_rules() |
pankso@451 | 37 { |
pankso@451 | 38 mkdir -p $fs/usr/share |
pascal@15579 | 39 cp -a $install/usr/share/X11 $fs/usr/share |
pankso@451 | 40 } |
pankso@451 | 41 |