wok annotate xorg-xf86-video-vmware/receipt @ rev 15158
gmerlin: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 15 17:45:49 2013 +0000 (2013-08-15) |
parents | 6971e86f8875 |
children | eb8067417980 |
rev | line source |
---|---|
slaxemulator@7333 | 1 # SliTaz package receipt. |
slaxemulator@7333 | 2 |
slaxemulator@7333 | 3 PACKAGE="xorg-xf86-video-vmware" |
pascal@14730 | 4 VERSION="13.0.1" |
slaxemulator@7333 | 5 CATEGORY="x-window" |
slaxemulator@7333 | 6 SHORT_DESC="X.org vmware video driver" |
slaxemulator@7333 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@7333 | 8 SOURCE="xf86-video-vmware" |
slaxemulator@7333 | 9 TARBALL="$SOURCE-$VERSION.tar.bz2" |
slaxemulator@7333 | 10 WEB_SITE="http://www.x.org/" |
slaxemulator@7333 | 11 WGET_URL="$XORG_MIRROR/driver/$TARBALL" |
slaxemulator@7333 | 12 |
pankso@12530 | 13 DEPENDS="xorg-server libdrm" |
pankso@12530 | 14 BUILD_DEPENDS="xorg-server-dev libdrm-dev" |
pankso@12530 | 15 |
pankso@12530 | 16 MODS='/usr/lib/X11/modules' |
pankso@12530 | 17 |
slaxemulator@7333 | 18 # Rules to configure and make the package. |
slaxemulator@7333 | 19 compile_rules() |
slaxemulator@7333 | 20 { |
slaxemulator@7333 | 21 cd $src |
pankso@12530 | 22 ./configure \ |
pankso@12530 | 23 --sysconfdir=/etc \ |
pankso@12530 | 24 --mandir=/usr/share/man \ |
pankso@12530 | 25 --localstatedir=/var \ |
pankso@12530 | 26 --with-xorg-module-dir=$MODS \ |
slaxemulator@7333 | 27 $CONFIGURE_ARGS && |
pankso@12530 | 28 make && make install |
slaxemulator@7333 | 29 } |
slaxemulator@7333 | 30 |
slaxemulator@7333 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7333 | 32 genpkg_rules() |
slaxemulator@7333 | 33 { |
pankso@12530 | 34 mkdir -p ${fs}${MODS}/drivers |
pankso@12530 | 35 cp -a ${install}${MODS}/drivers/*.so ${fs}${MODS}/drivers |
slaxemulator@7333 | 36 } |
slaxemulator@7333 | 37 |