wok-next rev 20178

sctp-tools: update wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 02 09:44:39 2017 +0100 (2017-11-02)
parents f496af4fe2bf
children fe76d2fe539b
files bcrelay/receipt poptop-man/receipt poptop/receipt raspberrypi-boot-x/receipt raspberrypi-boot/receipt raspberrypi-vc/receipt sctp-tools/receipt
line diff
     1.1 --- a/bcrelay/receipt	Thu Nov 02 09:14:23 2017 +0100
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,17 +0,0 @@
     1.4 -# SliTaz package receipt.
     1.5 -
     1.6 -PACKAGE="bcrelay"
     1.7 -VERSION="1.3.4"
     1.8 -CATEGORY="network"
     1.9 -SHORT_DESC="Broadcast relay daemon."
    1.10 -MAINTAINER="pascal.bellard@slitaz.org"
    1.11 -LICENSE="GPL2"
    1.12 -WEB_SITE="http://poptop.sourceforge.net/"
    1.13 -WANTED="poptop"
    1.14 -
    1.15 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.16 -genpkg_rules()
    1.17 -{
    1.18 -	mkdir -p $fs/usr/sbin
    1.19 -	cp -a $install/usr/sbin/bcrelay $fs/usr/sbin
    1.20 -}
     2.1 --- a/poptop-man/receipt	Thu Nov 02 09:14:23 2017 +0100
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,19 +0,0 @@
     2.4 -# SliTaz package receipt.
     2.5 -
     2.6 -PACKAGE="poptop-man"
     2.7 -VERSION="1.3.4"
     2.8 -CATEGORY="network"
     2.9 -SHORT_DESC="PPTP server man pages."
    2.10 -MAINTAINER="pascal.bellard@slitaz.org"
    2.11 -LICENSE="GPL2"
    2.12 -WEB_SITE="http://poptop.sourceforge.net/"
    2.13 -WANTED="poptop"
    2.14 -SOURCE="pptpd"
    2.15 -
    2.16 -# Rules to gen a SliTaz package suitable for Tazpkg.
    2.17 -genpkg_rules()
    2.18 -{
    2.19 -	mkdir -p $fs/usr/
    2.20 -	cp -a $install/usr/share $fs/usr/
    2.21 -}
    2.22 -
     3.1 --- a/poptop/receipt	Thu Nov 02 09:14:23 2017 +0100
     3.2 +++ b/poptop/receipt	Thu Nov 02 09:44:39 2017 +0100
     3.3 @@ -1,4 +1,4 @@
     3.4 -# SliTaz package receipt.
     3.5 +# SliTaz package receipt v2.
     3.6  
     3.7  PACKAGE="poptop"
     3.8  VERSION="1.3.4"
     3.9 @@ -11,10 +11,8 @@
    3.10  WEB_SITE="http://poptop.sourceforge.net/"
    3.11  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    3.12  TAGS="vpn tunnel"
    3.13 -#WANTED="ppp"		# need VERSION
    3.14 -CONFIG_FILES="/etc/pptpd.conf /etc/ppp/options.pptpd"
    3.15  
    3.16 -DEPENDS="ppp bcrelay"
    3.17 +SPLIT="poptop bcrelay poptop-man"
    3.18  
    3.19  # Rules to configure and make the package.
    3.20  compile_rules()
    3.21 @@ -33,11 +31,27 @@
    3.22  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.23  genpkg_rules()
    3.24  {
    3.25 -	mkdir -p $fs/usr $fs/etc/ppp $fs/etc/init.d
    3.26 -	cp -a $install/usr/lib $fs/usr
    3.27 -	cp -a $install/usr/sbin $fs/usr
    3.28 -	rm -f $fs/usr/sbin/bcrelay
    3.29 -	cp $src/samples/pptpd.conf $fs/etc
    3.30 -	cp $src/samples/options.pptpd $fs/etc/ppp
    3.31 -	ln -s daemon $fs/etc/init.d/pptpd
    3.32 +	case $PACKAGE in
    3.33 +	poptop)
    3.34 +		CONFIG_FILES="/etc/pptpd.conf /etc/ppp/options.pptpd"
    3.35 +		DEPENDS="ppp bcrelay"
    3.36 +		mkdir -p $fs/usr $fs/etc/ppp $fs/etc/init.d
    3.37 +		cp -a $install/usr/lib $fs/usr
    3.38 +		cp -a $install/usr/sbin $fs/usr
    3.39 +		rm -f $fs/usr/sbin/bcrelay
    3.40 +		cp $src/samples/pptpd.conf $fs/etc
    3.41 +		cp $src/samples/options.pptpd $fs/etc/ppp
    3.42 +		ln -s daemon $fs/etc/init.d/pptpd
    3.43 +		;;
    3.44 +	bcrelay)
    3.45 +		CAT="network|Broadcast relay daemon."
    3.46 +		mkdir -p $fs/usr/sbin
    3.47 +		cp -a $install/usr/sbin/bcrelay $fs/usr/sbin
    3.48 +		;;
    3.49 +	poptop-man)
    3.50 +		CAT="network|PPTP server man pages."
    3.51 +		mkdir -p $fs/usr/
    3.52 +		cp -a $install/usr/share $fs/usr/
    3.53 +		;;
    3.54 +	esac
    3.55  }
     4.1 --- a/raspberrypi-boot-x/receipt	Thu Nov 02 09:14:23 2017 +0100
     4.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.3 @@ -1,23 +0,0 @@
     4.4 -# SliTaz package receipt.
     4.5 -
     4.6 -PACKAGE="raspberrypi-boot-x"
     4.7 -VERSION="1db68b"
     4.8 -CATEGORY="system-tools"
     4.9 -SHORT_DESC="Raspberry Pi bootloader firmware with Pi camera support."
    4.10 -MAINTAINER="pankso@slitaz.org"
    4.11 -LICENSE="custom"
    4.12 -WEB_SITE="http://www.raspberrypi.org/"
    4.13 -TAGS="raspberrypi rpi"
    4.14 -HOST_ARCH="arm"
    4.15 -
    4.16 -WANTED="raspberrypi-vc"
    4.17 -
    4.18 -# Rules to gen a SliTaz package suitable for Tazpkg.
    4.19 -genpkg_rules()
    4.20 -{
    4.21 -	mkdir -p $fs/boot
    4.22 -	for fw in start_x.elf fixup_x.dat
    4.23 -	do
    4.24 -		cp -a ${src}/boot/${fw} ${fs}/boot
    4.25 -	done
    4.26 -}
     5.1 --- a/raspberrypi-boot/receipt	Thu Nov 02 09:14:23 2017 +0100
     5.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.3 @@ -1,24 +0,0 @@
     5.4 -# SliTaz package receipt.
     5.5 -
     5.6 -PACKAGE="raspberrypi-boot"
     5.7 -VERSION="1db68b"
     5.8 -CATEGORY="system-tools"
     5.9 -SHORT_DESC="Raspberry Pi bootloader firmware."
    5.10 -MAINTAINER="pankso@slitaz.org"
    5.11 -LICENSE="custom"
    5.12 -WEB_SITE="http://www.raspberrypi.org/"
    5.13 -TAGS="raspberrypi rpi"
    5.14 -HOST_ARCH="arm"
    5.15 -
    5.16 -WANTED="raspberrypi-vc"
    5.17 -
    5.18 -# Rules to gen a SliTaz package suitable for Tazpkg.
    5.19 -genpkg_rules()
    5.20 -{
    5.21 -	mkdir -p $fs/boot
    5.22 -	for fw in bootcode.bin fixup.dat start.elf
    5.23 -	do
    5.24 -		cp -a ${src}/boot/${fw} ${fs}/boot
    5.25 -	done
    5.26 -	
    5.27 -}
     6.1 --- a/raspberrypi-vc/receipt	Thu Nov 02 09:14:23 2017 +0100
     6.2 +++ b/raspberrypi-vc/receipt	Thu Nov 02 09:44:39 2017 +0100
     6.3 @@ -1,4 +1,4 @@
     6.4 -# SliTaz package receipt.
     6.5 +# SliTaz package receipt v2.
     6.6  
     6.7  PACKAGE="raspberrypi-vc"
     6.8  GITHASH="1db68b5da75330e4d21fa10b8271c0f463d605d2"
     6.9 @@ -15,6 +15,7 @@
    6.10  HOST_ARCH="arm"
    6.11  
    6.12  BUILD_DEPENDS="wget"
    6.13 +SPLIT="raspberrypi-vc raspberrypi-boot raspberrypi-boot-x"
    6.14  
    6.15  # Cross tool PATH is not set in genpkg_rules
    6.16  compile_rules()
    6.17 @@ -27,16 +28,36 @@
    6.18  # Rules to gen a SliTaz package suitable for Tazpkg.
    6.19  genpkg_rules()
    6.20  {
    6.21 -	vc="$fs/opt/vc"
    6.22 -	mkdir -p ${fs}/opt
    6.23 -	cp -a ${src}/opt/vc ${fs}/opt
    6.24 -	echo -n "Cleaning: VC libraries devel files"
    6.25 -	rm -rf ${vc}/include ${vc}/src ${vc}/lib/*.a
    6.26 -	status
    6.27 +	case $PACKAGE in
    6.28 +	raspberrypi-vc)
    6.29 +		vc="$fs/opt/vc"
    6.30 +		mkdir -p ${fs}/opt
    6.31 +		cp -a ${src}/opt/vc ${fs}/opt
    6.32 +		echo -n "Cleaning: VC libraries devel files"
    6.33 +		rm -rf ${vc}/include ${vc}/src ${vc}/lib/*.a
    6.34 +		status
    6.35 +		;;
    6.36 +	raspberrypi-boot)
    6.37 +		CAT="system-tools|Raspberry Pi bootloader firmware."
    6.38 +		mkdir -p $fs/boot
    6.39 +		for fw in bootcode.bin fixup.dat start.elf
    6.40 +		do
    6.41 +			cp -a ${src}/boot/${fw} ${fs}/boot
    6.42 +		done
    6.43 +		;;
    6.44 +	raspberrypi-boot-x)
    6.45 +		CAT="system-tools|Raspberry Pi bootloader firmware with Pi camera support."
    6.46 +		mkdir -p $fs/boot
    6.47 +		for fw in start_x.elf fixup_x.dat
    6.48 +		do
    6.49 +			cp -a ${src}/boot/${fw} ${fs}/boot
    6.50 +		done
    6.51 +		;;
    6.52 +	esac
    6.53  }
    6.54  
    6.55  # PATH + LD_LIBRARY_PATH
    6.56 -post_install()
    6.57 +post_install_raspberrypi_vc()
    6.58  {
    6.59  	# PATH + LD_LIBRARY_PATH
    6.60  	if ! fgrep -q '/opt/vc/bin' ${1}/etc/profile; then
     7.1 --- a/sctp-tools/receipt	Thu Nov 02 09:14:23 2017 +0100
     7.2 +++ b/sctp-tools/receipt	Thu Nov 02 09:44:39 2017 +0100
     7.3 @@ -9,15 +9,13 @@
     7.4  SOURCE="lksctp-tools"
     7.5  TARBALL="$SOURCE-$VERSION.tar.gz"
     7.6  WEB_SITE="http://lksctp.sourceforge.net/"
     7.7 -WGET_URL="$SF_MIRROR/project/lksctp/lksctp/$SOURCE-$VERSION/$TARBALL"
     7.8 +WGET_URL="$SF_MIRROR/project/lksctp/lksctp/$SOURCE/$TARBALL"
     7.9  
    7.10  SPLIT="sctp-tools libsctp-dev libsctp"
    7.11  
    7.12  # Rules to configure and make the package.
    7.13  compile_rules()
    7.14  {
    7.15 -	ln -s $src $PACKAGE-$VERSION
    7.16 -	cd $src
    7.17  	./configure --prefix=/usr --infodir=/usr/share/info \
    7.18  	--mandir=/usr/share/man \
    7.19  	$CONFIGURE_ARGS &&