rev |
line source |
mallory@2685
|
1 # SliTaz package receipt.
|
mallory@2685
|
2
|
mallory@2685
|
3 PACKAGE="libxcb"
|
mallory@2685
|
4 VERSION="1.2"
|
mallory@2685
|
5 CATEGORY="x-window"
|
mallory@2685
|
6 SHORT_DESC="The X protocol C-language Binding (XCB) is a replacement for Xlib featuring a small footprint, latency hiding, direct access to the protocol, improved threading support, and extensibility."
|
mallory@2685
|
7 MAINTAINER="mallory@sweetpeople.org"
|
mallory@2685
|
8 DEPENDS="xcb-proto"
|
mallory@2685
|
9 BUILD_DEPENDS="xcb-proto"
|
mallory@2685
|
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
|
mallory@2685
|
11 WEB_SITE="http://xcb.freedesktop.org"
|
mallory@2685
|
12 WGET_URL="$WEB_SITE/dist/$TARBALL"
|
mallory@2685
|
13
|
mallory@2685
|
14 # Rules to configure and make the package.
|
mallory@2685
|
15 compile_rules()
|
mallory@2685
|
16 {
|
mallory@2685
|
17 cd $src
|
mallory@2685
|
18 ./configure \
|
mallory@2685
|
19 --prefix=/usr \
|
mallory@2685
|
20 --infodir=/usr/share/info \
|
mallory@2685
|
21 --mandir=/usr/share/man \
|
mallory@2685
|
22 $CONFIGURE_ARGS &&
|
mallory@2685
|
23 make && make DESTDIR=$PWD/_pkg install
|
mallory@2685
|
24 }
|
mallory@2685
|
25
|
mallory@2685
|
26 # Rules to gen a SliTaz package suitable for Tazpkg.
|
mallory@2685
|
27 genpkg_rules()
|
mallory@2685
|
28 {
|
mallory@2685
|
29 mkdir -p $fs/usr/lib
|
mallory@2685
|
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
|
mallory@2685
|
31 }
|
mallory@2685
|
32
|