wok-current view xorg-libXfixes/receipt @ rev 871
linux: package all splited pkgs with genpkg_rules
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Jun 06 12:20:08 2008 +0200 (2008-06-06) |
parents | |
children | 075898aaed14 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-libXfixes"
4 VERSION="4.0.3"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg server module."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="xorg"
9 SOURCE="libXfixes"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.x.org/"
12 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --sysconfdir=/etc \
19 --mandir=/usr/share/man --localstatedir=/var \
20 $CONFIGURE_ARGS
21 make
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
30 strip -s $fs/usr/lib/*
31 }