wok-6.x annotate vice/receipt @ rev 22261

libdvdread-dev: install dvdread.pc in pkgconfig directory
author Richard Dunbar <mojo@slitaz.org>
date Tue Nov 12 23:58:25 2019 -0500 (2019-11-12)
parents 3705d68ed8f3
children 5f6c5106b1f5
rev   line source
devl547@13769 1 # SliTaz package receipt.
devl547@13769 2
devl547@13769 3 PACKAGE="vice"
Hans-G?nter@22100 4 VERSION="3.3"
devl547@13769 5 CATEGORY="games"
devl547@13769 6 SHORT_DESC="Commodore 64 and others emulator."
devl547@13769 7 MAINTAINER="devl547@gmail.com"
pascal@15216 8 LICENSE="GPL2"
Hans-G?nter@22100 9 WEB_SITE="http://www.viceteam.org/"
Hans-G?nter@22100 10
devl547@13769 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@19721 12 WGET_URL="$SF_MIRROR/vice-emu/files/releases/$TARBALL"
devl547@13769 13
Hans-G?nter@22100 14 DEPENDS="gtk+ libsdl2 readline"
Hans-G?nter@22100 15 BUILD_DEPENDS="gtk+-dev libsdl2-dev readline-dev xa xorg-bdftopcf xorg-mkfontdir"
pascal@15216 16
devl547@13769 17 # Rules to configure and make the package.
devl547@13769 18 compile_rules()
devl547@13769 19 {
pascal@20212 20 sed -i 's|uname -m|echo i486|' src/lib/liblame/Makefile.unix
pascal@15285 21 sed -i 's/cp .(fontsdir)/echo &/' data/fonts/Makefile.*
Hans-G?nter@22100 22
Hans-G?nter@22100 23 ./configure \
Hans-G?nter@22100 24 --prefix=/usr \
devl547@13769 25 $CONFIGURE_ARGS &&
Hans-G?nter@22100 26 make $MAKEFLAGS &&
Hans-G?nter@22100 27 make DESTDIR=$DESTDIR install
devl547@13769 28 }
devl547@13769 29
devl547@13769 30 # Rules to gen a SliTaz package suitable for Tazpkg.
devl547@13769 31 genpkg_rules()
devl547@13769 32 {
devl547@13769 33 mkdir -p $fs/usr/
Hans-G?nter@22100 34
Hans-G?nter@22100 35 cp -a $install/usr/bin $fs/usr/
Hans-G?nter@22100 36 cp -a $install/usr/lib $fs/usr/
devl547@13769 37 }