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