wok view xorg-libXi/receipt @ rev 2621

atl1e, rt2860sta: move code into functions
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 14 15:27:15 2009 +0000 (2009-04-14)
parents f02d1e043e4a
children 857621a8b6e4
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-libXi"
4 VERSION="1.0.2"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg server module."
7 MAINTAINER="pankso@slitaz.org"
8 SOURCE="libXi"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://www.x.org/"
11 WGET_URL="ftp://ftp.solnet.ch/mirror/x.org/pub/individual/lib/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr --sysconfdir=/etc \
18 --mandir=/usr/share/man --localstatedir=/var \
19 $CONFIGURE_ARGS
20 make
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
29 strip -s $fs/usr/lib/*
30 }