wok annotate pcem/receipt @ rev 24031

updated dialog (1.3_20190211 -> 1.3_20210324)
author Hans-G?nter Theisgen
date Tue Apr 06 13:52:57 2021 +0100 (2021-04-06)
parents 6542c854008f
children 01737061adb0
rev   line source
pascal@21920 1 # SliTaz package receipt.
pascal@21920 2
pascal@21920 3 PACKAGE="pcem"
pascal@24012 4 VERSION="17"
pascal@21920 5 CATEGORY="misc"
pascal@21920 6 SHORT_DESC="An IBM PC emulator"
pascal@21920 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@21920 8 LICENSE="GPL2"
pascal@21920 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@21920 10 WEB_SITE="https://pcem-emulator.co.uk/"
pascal@21920 11 WGET_URL="${WEB_SITE}files/PCemV${VERSION}Linux.tar.gz"
pascal@21920 12 TAGS="virtualization emulator"
pascal@21920 13
pascal@21920 14 DEPENDS="wxWidgets libsdl2 openal alsa-lib"
pascal@21920 15 BUILD_DEPENDS="wxWidgets-dev libsdl2-dev openal-dev alsa-lib-dev"
pascal@21920 16
pascal@24012 17 current_version()
pascal@24012 18 {
pascal@24012 19 wget -O - $WEB_SITE/downloads.html 2>/dev/null | \
pascal@24012 20 sed '/tar/!d;s|.*PCemV\(.*\)Linux.tar.*".*|\1|;q'
pascal@24012 21 }
pascal@24012 22
pascal@21920 23 # Rules to configure and make the package.
pascal@21920 24 compile_rules()
pascal@21920 25 {
pascal@21920 26 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
pascal@21920 27 ./configure --prefix=/usr \
pascal@21920 28 --enable-networking \
pascal@21920 29 --enable-alsa \
pascal@21920 30 $CONFIGURE_ARGS &&
pascal@21920 31 make &&
pascal@21920 32 make DESTDIR=$DESTDIR install
pascal@21920 33 }
pascal@21920 34
pascal@21920 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@21920 36 genpkg_rules()
pascal@21920 37 {
pascal@21920 38 cp -a $install/* $fs/
pascal@21921 39 mkdir -p $install/usr/share/doc
pascal@24012 40 cp $src/readme.html $install/usr/share/doc
pascal@21935 41 cp $src/COPYING $install/usr/share/doc
pascal@21920 42 }