wok-next annotate libdrm/receipt @ rev 7086
Change goocanvas TARBALL source to .tar.bz2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Nov 03 00:43:40 2010 +0000 (2010-11-03) |
parents | 42f58f9352f3 |
children | 755ed184c620 |
rev | line source |
---|---|
pankso@3006 | 1 # SliTaz package receipt. |
pankso@3006 | 2 |
pankso@3006 | 3 PACKAGE="libdrm" |
slaxemulator@6731 | 4 VERSION="2.4.22" |
pankso@3006 | 5 CATEGORY="x-window" |
pankso@3006 | 6 SHORT_DESC="Freedesktop DRM Library." |
pankso@3006 | 7 MAINTAINER="pankso@slitaz.org" |
gokhlayeh@6993 | 8 DEPENDS="glibc-base udev linux-drm" |
gokhlayeh@6993 | 9 BUILD_DEPENDS="xorg-dev xorg-dev-proto libpthread-stubs gc gc-dev pkg-config udev-dev" |
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@5293 | 20 --enable-intel \ |
slaxemulator@6268 | 21 --enable-radeon \ |
gokhlayeh@6993 | 22 --enable-nouveau-experimental-api \ |
gokhlayeh@6993 | 23 --enable-udev \ |
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 |
gokhlayeh@6993 | 33 cp -a $_pkg/usr/lib/libdrm.so* $fs/usr/lib |
gokhlayeh@6993 | 34 cp -a $_pkg/usr/lib/libkms*.so* $fs/usr/lib |
pankso@3006 | 35 } |