wok-6.x rev 25545
Add pom1
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 15 16:15:09 2023 +0000 (20 months ago) |
parents | acebe5bceb4f |
children | 1bbf846a10de |
files | libiec61883-dev/receipt libiec61883/receipt pom1/receipt |
line diff
1.1 --- a/libiec61883-dev/receipt Sun Mar 12 15:58:49 2023 +0100 1.2 +++ b/libiec61883-dev/receipt Wed Mar 15 16:15:09 2023 +0000 1.3 @@ -7,7 +7,7 @@ 1.4 MAINTAINER="pankso@slitaz.org" 1.5 LICENSE="LGPL2.1" 1.6 WANTED="libiec61883" 1.7 -WEB_SITE="https://ieee1394.wiki.kernel.org/index.php/Main_Page" 1.8 +WEB_SITE="https://web.archive.org/web/20221002233314/https://ieee1394.wiki.kernel.org/index.php/Main_Page" 1.9 1.10 DEPENDS="pkg-config" 1.11
2.1 --- a/libiec61883/receipt Sun Mar 12 15:58:49 2023 +0100 2.2 +++ b/libiec61883/receipt Wed Mar 15 16:15:09 2023 +0000 2.3 @@ -7,7 +7,7 @@ 2.4 MAINTAINER="pankso@slitaz.org" 2.5 LICENSE="LGPL2.1" 2.6 TARBALL="$PACKAGE-$VERSION.tar.gz" 2.7 -WEB_SITE="https://ieee1394.wiki.kernel.org/index.php/Main_Page" 2.8 +WEB_SITE="https://web.archive.org/web/20221002233314/https://ieee1394.wiki.kernel.org/index.php/Main_Page" 2.9 WGET_URL="https://mirrors.edge.kernel.org/pub/linux/libs/ieee1394/$TARBALL" 2.10 2.11 DEPENDS="libraw1394"
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/pom1/receipt Wed Mar 15 16:15:09 2023 +0000 3.3 @@ -0,0 +1,42 @@ 3.4 +# SliTaz package receipt. 3.5 + 3.6 +PACKAGE="pom1" 3.7 +VERSION="1.0.0" 3.8 +CATEGORY="misc" 3.9 +TAGS="emulator apple1" 3.10 +SHORT_DESC="Apple 1 emulator." 3.11 +MAINTAINER="pascal.bellard@slitaz.org" 3.12 +LICENSE="GPL2" 3.13 +WEB_SITE="https://pom1.sourceforge.net/" 3.14 + 3.15 +TARBALL="$PACKAGE-$VERSION.tar.gz" 3.16 +WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL" 3.17 + 3.18 +DEPENDS="libsdl" 3.19 +BUILD_DEPENDS="libsdl-dev" 3.20 + 3.21 +# What is the latest version available today? 3.22 +current_version() 3.23 +{ 3.24 + wget -O - https://sourceforge.net/projects/pom1/files/pom1/ 2>/dev/null | \ 3.25 + sed '/href/!d;/\/projects\/pom1\/files\/pom1\/[0-9]/!d;s|.* href="|https://sourceforge.net|;s|".*||;q' | xargs wget -O - 2>/dev/null | \ 3.26 + sed '/tar.gz/!d;s|.*pom1-||;s|.tar.*||;q' 3.27 +} 3.28 + 3.29 +# Rules to configure and make the package. 3.30 +compile_rules() 3.31 +{ 3.32 + ./configure \ 3.33 + --prefix=/usr \ 3.34 + $CONFIGURE_ARGS 3.35 + make && 3.36 + make install 3.37 +} 3.38 + 3.39 +# Rules to gen a SliTaz package suitable for Tazpkg. 3.40 +genpkg_rules() 3.41 +{ 3.42 + mkdir -p $fs/usr/share 3.43 + cp -a $install/usr/share/pom1 $fs/usr/share 3.44 + cp -a $install/usr/bin $fs/usr 3.45 +}