# HG changeset patch # User Pascal Bellard # Date 1678896909 0 # Node ID 694752fdbc0d3409ba67aba69ea2f0016b0df11b # Parent acebe5bceb4f48f10518fe46ef0d508063e2dd68 Add pom1 diff -r acebe5bceb4f -r 694752fdbc0d libiec61883-dev/receipt --- a/libiec61883-dev/receipt Sun Mar 12 15:58:49 2023 +0100 +++ b/libiec61883-dev/receipt Wed Mar 15 16:15:09 2023 +0000 @@ -7,7 +7,7 @@ MAINTAINER="pankso@slitaz.org" LICENSE="LGPL2.1" WANTED="libiec61883" -WEB_SITE="https://ieee1394.wiki.kernel.org/index.php/Main_Page" +WEB_SITE="https://web.archive.org/web/20221002233314/https://ieee1394.wiki.kernel.org/index.php/Main_Page" DEPENDS="pkg-config" diff -r acebe5bceb4f -r 694752fdbc0d libiec61883/receipt --- a/libiec61883/receipt Sun Mar 12 15:58:49 2023 +0100 +++ b/libiec61883/receipt Wed Mar 15 16:15:09 2023 +0000 @@ -7,7 +7,7 @@ MAINTAINER="pankso@slitaz.org" LICENSE="LGPL2.1" TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="https://ieee1394.wiki.kernel.org/index.php/Main_Page" +WEB_SITE="https://web.archive.org/web/20221002233314/https://ieee1394.wiki.kernel.org/index.php/Main_Page" WGET_URL="https://mirrors.edge.kernel.org/pub/linux/libs/ieee1394/$TARBALL" DEPENDS="libraw1394" diff -r acebe5bceb4f -r 694752fdbc0d pom1/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pom1/receipt Wed Mar 15 16:15:09 2023 +0000 @@ -0,0 +1,42 @@ +# SliTaz package receipt. + +PACKAGE="pom1" +VERSION="1.0.0" +CATEGORY="misc" +TAGS="emulator apple1" +SHORT_DESC="Apple 1 emulator." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL2" +WEB_SITE="https://pom1.sourceforge.net/" + +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL" + +DEPENDS="libsdl" +BUILD_DEPENDS="libsdl-dev" + +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/pom1/files/pom1/ 2>/dev/null | \ + sed '/href/!d;/\/projects\/pom1\/files\/pom1\/[0-9]/!d;s|.* href="|https://sourceforge.net|;s|".*||;q' | xargs wget -O - 2>/dev/null | \ + sed '/tar.gz/!d;s|.*pom1-||;s|.tar.*||;q' +} + +# Rules to configure and make the package. +compile_rules() +{ + ./configure \ + --prefix=/usr \ + $CONFIGURE_ARGS + make && + make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share + cp -a $install/usr/share/pom1 $fs/usr/share + cp -a $install/usr/bin $fs/usr +}