wok annotate libdrm/receipt @ rev 6611
Up: couchdb to 1.0.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Oct 09 19:16:16 2010 +0000 (2010-10-09) |
parents | 8919d637a453 |
children | 42f58f9352f3 |
rev | line source |
---|---|
pankso@3006 | 1 # SliTaz package receipt. |
pankso@3006 | 2 |
pankso@3006 | 3 PACKAGE="libdrm" |
slaxemulator@6268 | 4 VERSION="2.4.21" |
pankso@3006 | 5 CATEGORY="x-window" |
pankso@3006 | 6 SHORT_DESC="Freedesktop DRM Library." |
pankso@3006 | 7 MAINTAINER="pankso@slitaz.org" |
rcx@3691 | 8 DEPENDS="glibc-base" |
slaxemulator@6268 | 9 BUILD_DEPENDS="xorg-dev xorg-dev-proto libpthread-stubs gc gc-dev pkg-config" |
pankso@3006 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@3006 | 11 WEB_SITE="http://dri.freedesktop.org/" |
pankso@3006 | 12 WGET_URL="http://dri.freedesktop.org/libdrm/$TARBALL" |
pankso@3006 | 13 |
pankso@3006 | 14 # Rules to configure and make the package. |
pankso@3006 | 15 compile_rules() |
pankso@3006 | 16 { |
pankso@3006 | 17 cd $src |
slaxemulator@6303 | 18 # fixes some intel issues |
slaxemulator@6303 | 19 patch -Np1 -i ../stuff/libdrm-2.4.21-b803918f3f.patch |
pankso@3006 | 20 ./configure \ |
pankso@3006 | 21 --prefix=/usr \ |
pankso@5293 | 22 --enable-intel \ |
slaxemulator@6268 | 23 --enable-radeon \ |
pankso@3006 | 24 $CONFIGURE_ARGS && |
pankso@5293 | 25 make && |
pankso@3006 | 26 make DESTDIR=$PWD/_pkg install |
pankso@3006 | 27 } |
pankso@3006 | 28 |
pankso@3006 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3006 | 30 genpkg_rules() |
pankso@3006 | 31 { |
pankso@3006 | 32 mkdir -p $fs/usr/lib |
pankso@3006 | 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@3006 | 34 } |