wok-6.x view libdrm/receipt @ rev 6701
get-OpenOffice3: any localization (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 13 17:14:24 2010 +0200 (2010-10-13) |
parents | 8919d637a453 |
children | 42f58f9352f3 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libdrm"
4 VERSION="2.4.21"
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 pkg-config"
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 # fixes some intel issues
19 patch -Np1 -i ../stuff/libdrm-2.4.21-b803918f3f.patch
20 ./configure \
21 --prefix=/usr \
22 --enable-intel \
23 --enable-radeon \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 }