wok-next annotate dosbox/receipt @ rev 5800
Speedup some builds
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 11 14:18:18 2010 +0200 (2010-07-11) |
parents | ed84890bff8c |
children | 061a2a674469 |
rev | line source |
---|---|
pankso@797 | 1 # SliTaz package receipt. |
pankso@797 | 2 |
pankso@797 | 3 PACKAGE="dosbox" |
pankso@3357 | 4 VERSION="0.73" |
pankso@797 | 5 CATEGORY="system-tools" |
pankso@797 | 6 SHORT_DESC="DOS-emulator that uses the SDL-library." |
pankso@3425 | 7 DEPENDS="xorg-libX11 libsdl alsa-lib zlib libgl libpng libsdl-net" |
pankso@3425 | 8 BUILD_DEPENDS="xorg-libX11-dev libsdl-dev" |
pankso@797 | 9 MAINTAINER="pankso@slitaz.org" |
pankso@797 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@797 | 11 WEB_SITE="http://www.dosbox.com/" |
pankso@797 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@797 | 13 |
pankso@797 | 14 # Rules to configure and make the package. |
pankso@797 | 15 compile_rules() |
pankso@797 | 16 { |
pankso@797 | 17 cd $src |
pankso@797 | 18 ./configure \ |
pankso@797 | 19 --prefix=/usr \ |
pankso@797 | 20 --mandir=/usr/share/man \ |
pascal@2488 | 21 $CONFIGURE_ARGS && |
pascal@2488 | 22 make && |
pankso@797 | 23 make DESTDIR=$PWD/_pkg install |
pankso@797 | 24 } |
pankso@797 | 25 |
pankso@797 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@797 | 27 genpkg_rules() |
pankso@797 | 28 { |
pankso@797 | 29 mkdir -p $fs/usr/share |
pankso@797 | 30 cp -a $_pkg/usr/bin $fs/usr |
pankso@797 | 31 } |
pankso@797 | 32 |