wok annotate xorg-xf86-video-vmware/receipt @ rev 17035

slitaz-configs-base: use chroot in post_install()
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Aug 18 08:45:31 2014 +0000 (2014-08-18)
parents 5f4f33f36a0f
children 03b2309fd335
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"
pascal@15579 8 LICENSE="MIT"
slaxemulator@7333 9 SOURCE="xf86-video-vmware"
slaxemulator@7333 10 TARBALL="$SOURCE-$VERSION.tar.bz2"
slaxemulator@7333 11 WEB_SITE="http://www.x.org/"
slaxemulator@7333 12 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
slaxemulator@7333 13
pankso@12530 14 DEPENDS="xorg-server libdrm"
pankso@12530 15 BUILD_DEPENDS="xorg-server-dev libdrm-dev"
pankso@12530 16
pankso@12530 17 MODS='/usr/lib/X11/modules'
pankso@12530 18
slaxemulator@7333 19 # Rules to configure and make the package.
slaxemulator@7333 20 compile_rules()
slaxemulator@7333 21 {
slaxemulator@7333 22 cd $src
pankso@12530 23 ./configure \
pankso@12530 24 --sysconfdir=/etc \
pankso@12530 25 --mandir=/usr/share/man \
pankso@12530 26 --localstatedir=/var \
pankso@12530 27 --with-xorg-module-dir=$MODS \
slaxemulator@7333 28 $CONFIGURE_ARGS &&
pankso@12530 29 make && make install
slaxemulator@7333 30 }
slaxemulator@7333 31
slaxemulator@7333 32 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7333 33 genpkg_rules()
slaxemulator@7333 34 {
pankso@12530 35 mkdir -p ${fs}${MODS}/drivers
pankso@12530 36 cp -a ${install}${MODS}/drivers/*.so ${fs}${MODS}/drivers
slaxemulator@7333 37 }
slaxemulator@7333 38