wok-6.x annotate pce/receipt @ rev 25018

updated openjpeg, openjpeg-dev and openjpeg-tools again (1.5.0 -> 1.5.2)
author Hans-G?nter Theisgen
date Wed May 18 07:14:08 2022 +0100 (2022-05-18)
parents 2f230197370e
children
rev   line source
pascal@18482 1 # SliTaz package receipt.
pascal@18482 2
pascal@18482 3 PACKAGE="pce"
pascal@24981 4 VERSION="20220220-991c55d9"
pascal@18482 5 CATEGORY="misc"
pascal@18482 6 SHORT_DESC="A collection of microcomputer emulators."
pascal@18482 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@18482 8 LICENSE="GPL2"
pascal@18482 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@18482 10 WEB_SITE="http://www.hampa.ch/pce/about.html"
pascal@24981 11 WGET_URL="http://www.hampa.ch/pub/pce/pre/$PACKAGE-$VERSION/$TARBALL"
pascal@18482 12 TAGS="emulator atari macplus"
pascal@18482 13
pascal@18482 14 DEPENDS="readline ncurses libsdl xorg-libX11 libxcb xorg-libXau xorg-libXdmcp"
pascal@18482 15 BUILD_DEPENDS="readline-dev ncurses-dev libsdl-dev xorg-dev"
pascal@18482 16
pascal@24459 17 # What is the latest version available today?
pascal@24459 18 current_version()
pascal@24459 19 {
pascal@24459 20 wget -O - http://www.hampa.ch/pce/download.html 2>/dev/null | \
pascal@24459 21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24459 22 }
pascal@24459 23
pascal@18482 24 # Rules to configure and make the package.
pascal@18482 25 compile_rules()
pascal@18482 26 {
pascal@18482 27 ./configure --prefix=/usr \
pascal@18482 28 --sysconfdir=/etc \
pascal@18482 29 --mandir=/usr/share/man \
pascal@18482 30 $CONFIGURE_ARGS &&
pascal@18482 31 make &&
pascal@18482 32 make DESTDIR=$DESTDIR install
pascal@18482 33 }
pascal@18482 34
pascal@18482 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@18482 36 genpkg_rules()
pascal@18482 37 {
pascal@18482 38 cp -a $install/* $fs/
pascal@18482 39 }