wok-6.x annotate sz81/receipt @ rev 20668

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