wok-6.x view xorg-libX11/receipt @ rev 23861
xvkbd: fix fetch,compile,and genpkg
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Fri Jun 19 01:26:32 2020 -0400 (2020-06-19) |
parents | 814c58f64f83 |
children | 5dfd8f09a37f |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-libX11"
4 VERSION="1.6.9"
5 CATEGORY="x-window"
6 SHORT_DESC="X Library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="other"
9 WEB_SITE="https://www.x.org/wiki/"
11 SOURCE="libX11"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
15 DEPENDS="libxcb xorg-libXau xorg-libXdmcp"
16 BUILD_DEPENDS="libxcb-dev xorg-inputproto xorg-kbproto xorg-libXau-dev
17 xorg-libXdmcp-dev xorg-xextproto xorg-xf86bigfontproto xorg-xtrans"
19 HOST_ARCH="i486 arm"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 ./configure \
25 --sysconfdir=/etc \
26 --localstatedir=/var \
27 --disable-static \
28 $CONFIGURE_ARGS &&
29 make &&
30 make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 mkdir -p $fs/usr/share/X11/locale
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 cp -a $install/usr/share/X11/X* $fs/usr/share/X11
42 # X11 locale; other moved to locale packs
43 for i in C en_US.UTF-8 compose.dir locale.alias locale.dir
44 do
45 cp -a $install/usr/share/X11/locale/$i $fs/usr/share/X11/locale
46 done
47 }