wok annotate dosbox/receipt @ rev 11576
nvclock: autoreconf before build
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Mon Jan 02 23:06:19 2012 +0100 (2012-01-02) |
parents | 07e6c84aad04 |
children | d6d8fe5ff515 |
rev | line source |
---|---|
pankso@797 | 1 # SliTaz package receipt. |
pankso@797 | 2 |
pankso@797 | 3 PACKAGE="dosbox" |
slaxemulator@6222 | 4 VERSION="0.74" |
pankso@797 | 5 CATEGORY="system-tools" |
pankso@797 | 6 SHORT_DESC="DOS-emulator that uses the SDL-library." |
slaxemulator@6970 | 7 DEPENDS="xorg-libX11 libsdl alsa-lib zlib mesa libpng libsdl-net" |
slaxemulator@10550 | 8 BUILD_DEPENDS="xorg-libX11-dev libsdl-dev libsdl-net-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 |