wok view libdrm/receipt @ rev 4800
tazpkg-web: Clean-up and small fixes
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Jan 17 21:59:56 2010 +0100 (2010-01-17) |
parents | 67d9e19a0573 |
children | 8bdb13640ade |
line source
1 # SliTaz package receipt.
3 PACKAGE="libdrm"
4 VERSION="2.4.11"
5 CATEGORY="x-window"
6 SHORT_DESC="Freedesktop DRM Library."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="glibc-base"
9 BUILD_DEPENDS="xorg-dev xorg-dev-proto libpthread-stubs"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://dri.freedesktop.org/"
12 WGET_URL="http://dri.freedesktop.org/libdrm/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
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 }