wok-next annotate xorg-libXinerama/receipt @ rev 5151
vlc, wesnoth: compile_rules should be busybox compatible
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 24 08:50:23 2010 +0100 (2010-03-24) |
parents | 857621a8b6e4 |
children | 55fede281d6c |
rev | line source |
---|---|
pankso@20 | 1 # SliTaz package receipt. |
pankso@20 | 2 |
pankso@20 | 3 PACKAGE="xorg-libXinerama" |
pankso@3012 | 4 VERSION="1.0.3" |
pankso@20 | 5 CATEGORY="x-window" |
pankso@20 | 6 SHORT_DESC="Xorg server module." |
pankso@20 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@20 | 8 SOURCE="libXinerama" |
pankso@20 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@5008 | 10 DEPENDS="xorg-libX11 xorg-libXext xorg-libXau xorg-libXdmcp" |
pankso@20 | 11 WEB_SITE="http://www.x.org/" |
pankso@20 | 12 WGET_URL="$XORG_MIRROR/lib/$TARBALL" |
pankso@20 | 13 |
pankso@20 | 14 # Rules to configure and make the package. |
pankso@20 | 15 compile_rules() |
pankso@20 | 16 { |
pankso@3012 | 17 cd $src |
pankso@3012 | 18 ./configure \ |
pankso@3012 | 19 --prefix=/usr --sysconfdir=/etc \ |
pankso@3012 | 20 --mandir=/usr/share/man --localstatedir=/var \ |
pascal@5008 | 21 $CONFIGURE_ARGS && |
pascal@5008 | 22 make && |
pankso@3012 | 23 make DESTDIR=$PWD/_pkg install |
pankso@20 | 24 } |
pankso@20 | 25 |
pankso@20 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@20 | 27 genpkg_rules() |
pankso@20 | 28 { |
pankso@20 | 29 mkdir -p $fs/usr/lib |
pankso@3012 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@20 | 31 } |