wok view pcem/receipt @ rev 22042

gcc83-lib-base: do NOT provide gcc-lib-base
Currently BOTH gcc-lib-base and gcc83-lib-base are installed on my SliTaz system. So, with the current (and longstanding) tazpkg limitations I can't update just gcc-lib-base: tazpkg always updates gcc83-lib-base for me instead. Now I can't run Firefox, Vivaldi, Chrome, etc. I think because of gcc-lib-base, but I not sure 1bsolutely.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 22 12:55:54 2019 +0300 (2019-10-22)
parents b367a52d4872
children a1b12ae1c852
line source
1 # SliTaz package receipt.
3 PACKAGE="pcem"
4 VERSION="15"
5 CATEGORY="misc"
6 SHORT_DESC="An IBM PC emulator"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://pcem-emulator.co.uk/"
11 WGET_URL="${WEB_SITE}files/PCemV${VERSION}Linux.tar.gz"
12 TAGS="virtualization emulator"
14 DEPENDS="wxWidgets libsdl2 openal alsa-lib"
15 BUILD_DEPENDS="wxWidgets-dev libsdl2-dev openal-dev alsa-lib-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
21 ./configure --prefix=/usr \
22 --enable-networking \
23 --enable-alsa \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/* $fs/
33 mkdir -p $install/usr/share/doc
34 cp $src/readme.txt $install/usr/share/doc
35 cp $src/COPYING $install/usr/share/doc
36 }