wok annotate pcem/receipt @ rev 23385
updated perl-params-validate (1.21 -> 1.29)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 31 16:01:16 2020 +0100 (2020-03-31) |
parents | b367a52d4872 |
children | a1b12ae1c852 |
rev | line source |
---|---|
pascal@21920 | 1 # SliTaz package receipt. |
pascal@21920 | 2 |
pascal@21920 | 3 PACKAGE="pcem" |
pascal@21920 | 4 VERSION="15" |
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@21920 | 17 # Rules to configure and make the package. |
pascal@21920 | 18 compile_rules() |
pascal@21920 | 19 { |
pascal@21920 | 20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries" |
pascal@21920 | 21 ./configure --prefix=/usr \ |
pascal@21920 | 22 --enable-networking \ |
pascal@21920 | 23 --enable-alsa \ |
pascal@21920 | 24 $CONFIGURE_ARGS && |
pascal@21920 | 25 make && |
pascal@21920 | 26 make DESTDIR=$DESTDIR install |
pascal@21920 | 27 } |
pascal@21920 | 28 |
pascal@21920 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@21920 | 30 genpkg_rules() |
pascal@21920 | 31 { |
pascal@21920 | 32 cp -a $install/* $fs/ |
pascal@21921 | 33 mkdir -p $install/usr/share/doc |
pascal@21921 | 34 cp $src/readme.txt $install/usr/share/doc |
pascal@21935 | 35 cp $src/COPYING $install/usr/share/doc |
pascal@21920 | 36 } |