wok rev 22822

Add emu8051
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 06 12:27:36 2020 +0100 (2020-02-06)
parents bc9b397dec56
children 587d54bf66fa
files ORBit2-dev/receipt ORBit2/receipt busybox/receipt dropbear/receipt emu8051/receipt sshrc/receipt
line diff
     1.1 --- a/ORBit2-dev/receipt	Thu Feb 06 11:31:14 2020 +0100
     1.2 +++ b/ORBit2-dev/receipt	Thu Feb 06 12:27:36 2020 +0100
     1.3 @@ -6,7 +6,7 @@
     1.4  SHORT_DESC="ORBit2 devel files."
     1.5  MAINTAINER="rcx@zoominternet.net"
     1.6  LICENSE="GPL2"
     1.7 -WEB_SITE="http://projects.gnome.org/ORBit2/"
     1.8 +WEB_SITE="https://www.gnome.org/"
     1.9  WANTED="ORBit2"
    1.10  
    1.11  DEPENDS="ORBit2 libIDL glib-dev pkg-config"
     2.1 --- a/ORBit2/receipt	Thu Feb 06 11:31:14 2020 +0100
     2.2 +++ b/ORBit2/receipt	Thu Feb 06 12:27:36 2020 +0100
     2.3 @@ -7,7 +7,7 @@
     2.4  MAINTAINER="rcx@zoominternet.net"
     2.5  LICENSE="GPL2"
     2.6  TARBALL="$PACKAGE-$VERSION.tar.bz2"
     2.7 -WEB_SITE="http://projects.gnome.org/ORBit2/"
     2.8 +WEB_SITE="https://www.gnome.org/"
     2.9  WGET_URL="ftp://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
    2.10  CROSS="bug: Could not check for borked linking while cross-compiling"
    2.11  
     3.1 --- a/busybox/receipt	Thu Feb 06 11:31:14 2020 +0100
     3.2 +++ b/busybox/receipt	Thu Feb 06 12:27:36 2020 +0100
     3.3 @@ -24,6 +24,12 @@
     3.4  	arm*) BUILD_DEPENDS="bzip2" ;;
     3.5  esac
     3.6  
     3.7 +current_version()
     3.8 +{
     3.9 +	wget -O - $WEB_SITE 2>/dev/null | \
    3.10 +	sed "/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
    3.11 +}
    3.12 +
    3.13  # Busybox patches
    3.14  apply_bb_patchs()
    3.15  {
     4.1 --- a/dropbear/receipt	Thu Feb 06 11:31:14 2020 +0100
     4.2 +++ b/dropbear/receipt	Thu Feb 06 12:27:36 2020 +0100
     4.3 @@ -26,6 +26,12 @@
     4.4  		CROSS_BUGS="Fails to find zlib: -lz... no" ;;
     4.5  esac
     4.6  
     4.7 +current_version()
     4.8 +{
     4.9 +	wget -O - $WEB_SITE 2>/dev/null | \
    4.10 +	sed "/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
    4.11 +}
    4.12 +
    4.13  # Rules to configure and make the package.
    4.14  compile_rules()
    4.15  {
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/emu8051/receipt	Thu Feb 06 12:27:36 2020 +0100
     5.3 @@ -0,0 +1,44 @@
     5.4 +# SliTaz package receipt.
     5.5 +
     5.6 +PACKAGE="emu8051"
     5.7 +VERSION="2.0.1"
     5.8 +CATEGORY="development"
     5.9 +SHORT_DESC="Emulator and simulator for 8051 microcontrollers"
    5.10 +MAINTAINER="pascal.bellard@slitaz.org"
    5.11 +LICENSE="GPL2"
    5.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    5.13 +WEB_SITE="http://www.hugovil.com/projet.php?proj=$PACKAGE"
    5.14 +WGET_URL="http://www.hugovil.com/repository/$PACKAGE/$TARBALL"
    5.15 +TAG="8051 simulator"
    5.16 +
    5.17 +DEPENDS="readline libtinfo gtk+"
    5.18 +BUILD_DEPENDS="readline-dev libtinfo gtk+-dev"
    5.19 +
    5.20 +# Rules to configure and make the package.
    5.21 +compile_rules()
    5.22 +{
    5.23 +	export LDFLAGS="$LDFLAGS -ltinfo"
    5.24 +	./configure \
    5.25 +		--prefix=/usr \
    5.26 +		--sysconfdir=/etc \
    5.27 +		--mandir=/usr/share/man \
    5.28 +		$CONFIGURE_ARGS &&
    5.29 +	make &&
    5.30 +	make DESTDIR=$DESTDIR install
    5.31 +}
    5.32 +
    5.33 +# Rules to gen a SliTaz package suitable for Tazpkg.
    5.34 +genpkg_rules()
    5.35 +{
    5.36 +	mkdir -p $fs/usr/share/applications
    5.37 +	cp -a $install/usr/bin $fs/usr
    5.38 +	cp -a $install/etc $fs
    5.39 +	cat > $fs/usr/share/applications/emu8051.desktop <<EOT
    5.40 +[Desktop Entry]
    5.41 +Type=Application
    5.42 +Name=8051 simulator
    5.43 +Name[fr]=simulateur 8051
    5.44 +Exec=emu8051-gtk
    5.45 +Categories=Development;
    5.46 +EOT
    5.47 +}
     6.1 --- a/sshrc/receipt	Thu Feb 06 11:31:14 2020 +0100
     6.2 +++ b/sshrc/receipt	Thu Feb 06 12:27:36 2020 +0100
     6.3 @@ -7,7 +7,7 @@
     6.4  SHORT_DESC="bring your .bashrc, .vimrc, etc. with you when you ssh"
     6.5  MAINTAINER="pascal.bellard@slitaz.org"
     6.6  LICENSE="MIT"
     6.7 -WEB_SITE="https://github.com/Russell91/sshrc"
     6.8 +WEB_SITE="https://github.com/danrabinowitz/sshrc"
     6.9  
    6.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    6.11  WGET_URL="https://github.com/Russell91/sshrc/archive/$VERSION.tar.gz"