wok-current annotate dosbox/receipt @ rev 11930
dosbox cleaned up desktop file
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Wed Feb 29 16:29:20 2012 -0800 (2012-02-29) |
parents | c1380fbec108 |
children | 31dd0105be72 |
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 { |
samuel_trassare@11930 | 29 mkdir -p $fs/usr/share/pixmaps \ |
samuel_trassare@11930 | 30 $fs/usr/share/applications |
pankso@797 | 31 cp -a $_pkg/usr/bin $fs/usr |
samuel_trassare@11930 | 32 cp -a $stuff/dosbox.png $fs/usr/share/pixmaps |
samuel_trassare@11930 | 33 cp -a $stuff/dosbox.desktop $fs/usr/share/applications |
pankso@797 | 34 } |
pankso@797 | 35 |