wok-6.x annotate xorg-libXxf86vm/receipt @ rev 14507

Add get-src2pkg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 14 07:26:31 2013 +0200 (2013-05-14)
parents c514cc4854d8
children 863d6fa1c6fa
rev   line source
pankso@3013 1 # SliTaz package receipt.
pankso@3013 2
pankso@3013 3 PACKAGE="xorg-libXxf86vm"
pankso@12519 4 VERSION="1.1.2"
pankso@3013 5 CATEGORY="x-window"
pankso@3013 6 SHORT_DESC="Xorg server module."
pankso@3013 7 MAINTAINER="pankso@slitaz.org"
pankso@3013 8 SOURCE="libXxf86vm"
gokhlayeh@6993 9 TARBALL="$SOURCE-$VERSION.tar.bz2"
pankso@12519 10 WEB_SITE="http://www.x.org/"
pankso@12519 11 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
pankso@12519 12
slaxemulator@8029 13 DEPENDS="xorg-libXext"
slaxemulator@8029 14 BUILD_DEPENDS="xorg-libXext-dev xorg-xf86vidmodeproto"
pankso@3013 15
pankso@3013 16 # Rules to configure and make the package.
pankso@3013 17 compile_rules()
pankso@3013 18 {
pankso@3013 19 cd $src
pankso@3013 20 ./configure \
pankso@12519 21 --sysconfdir=/etc \
pankso@12519 22 --mandir=/usr/share/man \
pankso@12519 23 --localstatedir=/var \
pankso@3013 24 $CONFIGURE_ARGS &&
pankso@12519 25 make && make install
pankso@3013 26 }
pankso@3013 27
pankso@3013 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@3013 29 genpkg_rules()
pankso@3013 30 {
pankso@3013 31 mkdir -p $fs/usr/lib
pankso@12519 32 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@3013 33 }