wok-current annotate pcem/receipt @ rev 25601
use gcc49-lib-base for openldap-dev
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Sep 01 12:04:33 2023 +0000 (16 months ago) |
parents | a1b12ae1c852 |
children |
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@24092 | 13 SUGGESTED="get-pcem-roms" |
pascal@21920 | 14 |
pascal@21920 | 15 DEPENDS="wxWidgets libsdl2 openal alsa-lib" |
pascal@21920 | 16 BUILD_DEPENDS="wxWidgets-dev libsdl2-dev openal-dev alsa-lib-dev" |
pascal@21920 | 17 |
pascal@24012 | 18 current_version() |
pascal@24012 | 19 { |
pascal@24012 | 20 wget -O - $WEB_SITE/downloads.html 2>/dev/null | \ |
pascal@24012 | 21 sed '/tar/!d;s|.*PCemV\(.*\)Linux.tar.*".*|\1|;q' |
pascal@24012 | 22 } |
pascal@24012 | 23 |
pascal@21920 | 24 # Rules to configure and make the package. |
pascal@21920 | 25 compile_rules() |
pascal@21920 | 26 { |
pascal@21920 | 27 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries" |
pascal@21920 | 28 ./configure --prefix=/usr \ |
pascal@21920 | 29 --enable-networking \ |
pascal@21920 | 30 --enable-alsa \ |
pascal@21920 | 31 $CONFIGURE_ARGS && |
pascal@21920 | 32 make && |
pascal@21920 | 33 make DESTDIR=$DESTDIR install |
pascal@21920 | 34 } |
pascal@21920 | 35 |
pascal@21920 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@21920 | 37 genpkg_rules() |
pascal@21920 | 38 { |
pascal@21920 | 39 cp -a $install/* $fs/ |
pascal@21921 | 40 mkdir -p $install/usr/share/doc |
pascal@24012 | 41 cp $src/readme.html $install/usr/share/doc |
pascal@21935 | 42 cp $src/COPYING $install/usr/share/doc |
pascal@21920 | 43 } |