wok annotate dosbox/receipt @ rev 7362
mirror-tools/mkcfg.sh: create direct pxe links
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 23 18:57:25 2010 +0100 (2010-11-23) |
parents | 061a2a674469 |
children | c1380fbec108 |
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" |
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 |