wok-current view xorg-libX11/receipt @ rev 15749
vte: save a few Kb (mv .la and gir* file to -dev pkg)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Jan 03 11:32:22 2014 +0100 (2014-01-03) |
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 }