wok-stable annotate libdrm/receipt @ rev 4774
Up: get-virtualbox (1.01) - Improve vbox installer for slitaz.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed Jan 13 00:39:30 2010 +0100 (2010-01-13) |
parents | 67d9e19a0573 |
children | 8bdb13640ade |
rev | line source |
---|---|
pankso@3006 | 1 # SliTaz package receipt. |
pankso@3006 | 2 |
pankso@3006 | 3 PACKAGE="libdrm" |
rcx@3691 | 4 VERSION="2.4.11" |
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" |
pankso@3006 | 9 BUILD_DEPENDS="xorg-dev xorg-dev-proto libpthread-stubs" |
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 |
pankso@3006 | 18 ./configure \ |
pankso@3006 | 19 --prefix=/usr \ |
pankso@3006 | 20 $CONFIGURE_ARGS && |
pankso@3006 | 21 make && |
pankso@3006 | 22 make DESTDIR=$PWD/_pkg install |
pankso@3006 | 23 } |
pankso@3006 | 24 |
pankso@3006 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3006 | 26 genpkg_rules() |
pankso@3006 | 27 { |
pankso@3006 | 28 mkdir -p $fs/usr/lib |
pankso@3006 | 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@3006 | 30 } |