wok view xorg-libX11/receipt @ rev 18863
get-texlive: fix creating package texlive
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 28 22:27:33 2016 +0200 (2016-01-28) |
parents | 5ddb4d29b420 |
children | 814c58f64f83 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-libX11"
4 VERSION="1.5.99.902"
5 CATEGORY="x-window"
6 SHORT_DESC="X Library"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="other"
9 WEB_SITE="http://www.x.org/"
10 SOURCE="libX11"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
13 HOST_ARCH="i486 arm"
15 DEPENDS="libxcb xorg-libXau xorg-libXdmcp"
16 BUILD_DEPENDS="xorg-xtrans libxcb-dev xorg-kbproto xorg-xf86bigfontproto \
17 xorg-inputproto xorg-xextproto xorg-libXau-dev xorg-libXdmcp-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure \
23 --sysconfdir=/etc \
24 --localstatedir=/var \
25 --disable-static \
26 $CONFIGURE_ARGS &&
27 make &&
28 make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p \
35 $fs/usr/lib \
36 $fs/usr/share/X11/locale
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 cp -a $install/usr/share/X11/X* $fs/usr/share/X11
40 # X11 locale; other moved to locale packs
41 for i in C en_US.UTF-8 compose.dir locale.alias locale.dir; do
42 cp -a $install/usr/share/X11/locale/$i $fs/usr/share/X11/locale
43 done
44 }