wok-next annotate xorg-videoproto/receipt @ rev 10033
libtool: we want to cross compile it
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 20 03:09:27 2011 +0200 (2011-05-20) |
parents | 07ae722ec64e |
children | a09e9d64e4c9 |
rev | line source |
---|---|
pankso@87 | 1 # SliTaz package receipt. |
pankso@87 | 2 |
pankso@87 | 3 PACKAGE="xorg-videoproto" |
gokhlayeh@6993 | 4 VERSION="2.3.1" |
pankso@200 | 5 CATEGORY="development" |
pankso@87 | 6 SHORT_DESC="Xorg server protocol." |
pankso@87 | 7 MAINTAINER="pankso@slitaz.org" |
slaxemulator@8029 | 8 DEPENDS="xorg-util-macros" |
gokhlayeh@6993 | 9 BUILD_DEPENDS="xorg-util-macros" |
pankso@87 | 10 SOURCE="videoproto" |
gokhlayeh@6993 | 11 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@87 | 12 WEB_SITE="http://www.x.org/" |
pankso@87 | 13 WGET_URL="$XORG_MIRROR/proto/$TARBALL" |
pankso@87 | 14 |
pankso@87 | 15 # Rules to configure and make the package. |
pankso@87 | 16 compile_rules() |
pankso@87 | 17 { |
pankso@87 | 18 cd $src |
pankso@87 | 19 ./configure --prefix=/usr --sysconfdir=/etc \ |
pankso@87 | 20 --mandir=/usr/share/man --localstatedir=/var \ |
pankso@87 | 21 $CONFIGURE_ARGS |
pankso@87 | 22 make |
pankso@87 | 23 make DESTDIR=$PWD/_pkg install |
pankso@87 | 24 } |
pankso@87 | 25 |
pankso@87 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@87 | 27 genpkg_rules() |
pankso@87 | 28 { |
pankso@87 | 29 cp -a $_pkg/* $fs |
pankso@87 | 30 } |
pankso@87 | 31 |