wok view libdrm/receipt @ rev 5797

Speedup some builds
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 11 13:09:27 2010 +0200 (2010-07-11)
parents 53d61e9e834b
children 8919d637a453
line source
1 # SliTaz package receipt.
3 PACKAGE="libdrm"
4 VERSION="2.4.20"
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 gc gc-dev"
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 --enable-intel \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 }