wok-next diff xorg-libxkbfile/receipt @ rev 20057
Up cookutils (987)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Oct 23 23:14:31 2017 +0300 (2017-10-23) |
parents | f463de72afe3 |
children | 0e7893ac206d |
line diff
1.1 --- a/xorg-libxkbfile/receipt Sun Jun 18 04:38:10 2017 +0300 1.2 +++ b/xorg-libxkbfile/receipt Mon Oct 23 23:14:31 2017 +0300 1.3 @@ -1,19 +1,19 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="xorg-libxkbfile" 1.8 VERSION="1.0.9" 1.9 CATEGORY="x-window" 1.10 -SHORT_DESC="Xorg server keyboard library." 1.11 +SHORT_DESC="XKB file handling routines" 1.12 MAINTAINER="pankso@slitaz.org" 1.13 LICENSE="MIT" 1.14 -WEB_SITE="https://www.x.org/wiki" 1.15 +WEB_SITE="https://www.x.org/wiki/" 1.16 HOST_ARCH="i486 arm" 1.17 1.18 TARBALL="libxkbfile-$VERSION.tar.bz2" 1.19 WGET_URL="$XORG_MIRROR/lib/$TARBALL" 1.20 1.21 -DEPENDS="xorg-libX11 libxcb xorg-libXau xorg-libXdmcp" 1.22 BUILD_DEPENDS="xorg-libX11-dev libxcb-dev xorg-libXau-dev xorg-libXdmcp-dev" 1.23 +SPLIT="xorg-libxkbfile-dev" 1.24 1.25 # Rules to configure and make the package. 1.26 compile_rules() 1.27 @@ -21,14 +21,23 @@ 1.28 ./configure \ 1.29 --sysconfdir=/etc \ 1.30 --localstatedir=/var \ 1.31 - --disable-static \ 1.32 $CONFIGURE_ARGS && 1.33 make && 1.34 - make DESTDIR=$DESTDIR install 1.35 + make install 1.36 } 1.37 1.38 # Rules to gen a SliTaz package suitable for Tazpkg. 1.39 genpkg_rules() 1.40 { 1.41 - copy *.so* 1.42 + case $PACKAGE in 1.43 + *-libxkbfile) 1.44 + copy @std 1.45 + DEPENDS="xorg-libxcb xorg-libX11 xorg-libXau xorg-libXdmcp" 1.46 + ;; 1.47 + *-dev) 1.48 + copy @dev 1.49 + DEPENDS="xorg-libxkbfile xorg-libxcb-dev xorg-kbproto \ 1.50 + xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev" 1.51 + ;; 1.52 + esac 1.53 }