wok-6.x view sz81/receipt @ rev 16595

speedcrunch: do not fail when ./build exists
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 07 08:07:35 2014 +0000 (2014-05-07)
parents
children e919c5a2742d
line source
1 # SliTaz package receipt.
3 PACKAGE="sz81"
4 VERSION="2.1.7"
5 CATEGORY="system-tools"
6 SHORT_DESC="zx81 emulator/virtual machine.."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://sz81.sourceforge.net/"
10 TARBALL="$PACKAGE-$VERSION-source.tar.gz"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="emulator zx81"
14 DEPENDS="libsdl"
15 BUILD_DEPENDS="libsdl-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 make clean &&
21 make &&
22 make PREFIX=$DESTDIR/usr BINDIR=$DESTDIR/usr/bin \
23 DOCDIR=$DESTDIR/usr/share/doc \
24 PACKAGE_DATA_DIR=$DESTDIR/usr/share/sz81 install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/share $fs/usr
33 }