wok-current view xorg-libX11/receipt @ rev 15330
gnome-doc-utils-dev: update genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 28 11:01:47 2013 +0000 (2013-09-28) |
parents | 919b102812ab |
children | 73fb2ebfd59a |
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"
14 DEPENDS="libxcb"
15 BUILD_DEPENDS="xorg-xtrans libxcb-dev xorg-kbproto xorg-xf86bigfontproto \
16 xorg-inputproto xorg-xextproto"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --sysconfdir=/etc \
23 --localstatedir=/var \
24 --disable-static \
25 $CONFIGURE_ARGS &&
26 make &&
27 make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p \
34 $fs/usr/lib \
35 $fs/usr/share/X11/locale
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 cp -a $install/usr/share/X11/X* $fs/usr/share/X11
39 # X11 locale; other moved to locale packs
40 for i in C en_US.UTF-8 compose.dir locale.alias locale.dir; do
41 cp -a $install/usr/share/X11/locale/$i $fs/usr/share/X11/locale
42 done
43 }