wok-next rev 20457

Tiny edits
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 02 11:13:24 2018 +0200 (2018-03-02)
parents c3a368c0cddb
children c4e53a39395a
files alsa-tools/receipt doxygen/receipt gcc54/receipt nareto/receipt opencore-amr/receipt udev/receipt wget/receipt
line diff
     1.1 --- a/alsa-tools/receipt	Fri Mar 02 03:33:54 2018 +0200
     1.2 +++ b/alsa-tools/receipt	Fri Mar 02 11:13:24 2018 +0200
     1.3 @@ -30,6 +30,7 @@
     1.4  		case $i in
     1.5  			seq) cd $src/seq/sbiload;;
     1.6  			*)   cd $src/$i;;
     1.7 +			Makefile|gitcompile|qlo10k1) continue;;
     1.8  		esac
     1.9  		./configure $CONFIGURE_ARGS &&
    1.10  		make &&
     2.1 --- a/doxygen/receipt	Fri Mar 02 03:33:54 2018 +0200
     2.2 +++ b/doxygen/receipt	Fri Mar 02 11:13:24 2018 +0200
     2.3 @@ -1,41 +1,37 @@
     2.4 -# SliTaz package receipt.
     2.5 +# SliTaz package receipt v2.
     2.6  
     2.7  PACKAGE="doxygen"
     2.8  VERSION="1.8.11"
     2.9  CATEGORY="development"
    2.10 -SHORT_DESC="Source code documentation generator tool."
    2.11 +SHORT_DESC="Source code documentation generator tool"
    2.12  MAINTAINER="pascal.bellard@slitaz.org"
    2.13  LICENSE="GPL2"
    2.14  WEB_SITE="http://www.stack.nl/~dimitri/doxygen/"
    2.15 -TAGS="language documentation"
    2.16  
    2.17  TARBALL="$PACKAGE-$VERSION.src.tar.gz"
    2.18  WGET_URL="http://ftp.stack.nl/pub/doxygen/$TARBALL"
    2.19  
    2.20  BUILD_DEPENDS="cmake python" # graphviz
    2.21  
    2.22 -# Rules to configure and make the package.
    2.23 -compile_rules()
    2.24 -{
    2.25 -	mkdir build &&
    2.26 -	cd    build &&
    2.27 +compile_rules() {
    2.28 +	mkdir build
    2.29 +	cd    build
    2.30  
    2.31  	cmake -G "Unix Makefiles" \
    2.32  		-DCMAKE_BUILD_TYPE=Release \
    2.33  		-DCMAKE_INSTALL_PREFIX=/usr \
    2.34  		.. &&
    2.35  	make &&
    2.36 -	make install &&
    2.37 +	make install || return 1
    2.38  
    2.39 -	mkdir -p $install/usr/share/man/man1 &&
    2.40 +	mkdir -p $install/usr/share/man/man1
    2.41  	for i in ../doc/*.1; do
    2.42  		sed "s|@VERSION@|$VERSION|g; s|@DATE@|$(date +%Y)|g" $i > \
    2.43 -			$install/usr/share/man/man1
    2.44 +			$install/usr/share/man/man1/${i##*/}
    2.45  	done
    2.46  }
    2.47  
    2.48 -# Rules to gen a SliTaz package suitable for Tazpkg.
    2.49 -genpkg_rules()
    2.50 -{
    2.51 +genpkg_rules() {
    2.52  	copy bin/
    2.53 +	TAGS="language documentation"
    2.54  }
     3.1 --- a/gcc54/receipt	Fri Mar 02 03:33:54 2018 +0200
     3.2 +++ b/gcc54/receipt	Fri Mar 02 11:13:24 2018 +0200
     3.3 @@ -77,7 +77,7 @@
     3.4  	esac
     3.5  }
     3.6  
     3.7 -post_remove_gcc54-lib-base() {
     3.8 +post_remove_gcc54_lib_base() {
     3.9  	cd "$1/usr/lib"
    3.10  	ln -s libstdc++.so.6.*.* libstdc++.so.6
    3.11  	ln -s libstdc++.so.6.*.* libstdc++.so
     4.1 --- a/nareto/receipt	Fri Mar 02 03:33:54 2018 +0200
     4.2 +++ b/nareto/receipt	Fri Mar 02 11:13:24 2018 +0200
     4.3 @@ -89,6 +89,7 @@
     4.4  			CAT="network|documentation"
     4.5  			DEPENDS="nareto"
     4.6  			;;
     4.7 +	esac
     4.8  }
     4.9  
    4.10  post_install_nareto() {
     5.1 --- a/opencore-amr/receipt	Fri Mar 02 03:33:54 2018 +0200
     5.2 +++ b/opencore-amr/receipt	Fri Mar 02 11:13:24 2018 +0200
     5.3 @@ -24,4 +24,5 @@
     5.4  	case $PACKAGE in
     5.5  		opencore-amr) copy @std;;
     5.6  		*-dev)        copy @dev;;
     5.7 +	esac
     5.8  }
     6.1 --- a/udev/receipt	Fri Mar 02 03:33:54 2018 +0200
     6.2 +++ b/udev/receipt	Fri Mar 02 11:13:24 2018 +0200
     6.3 @@ -103,7 +103,7 @@
     6.4  	| sed "s|.*$object=\"\([a-zA-Z0-9]*\)\".*|\1|" \
     6.5  	| sort \
     6.6  	| uniq \
     6.7 -	while read x; do
     6.8 +	| while read x; do
     6.9  		grep -q ^$x: "$1/etc/passwd" || chroot "$1/" adduser -S -D -H $x
    6.10  	done
    6.11  }
     7.1 --- a/wget/receipt	Fri Mar 02 03:33:54 2018 +0200
     7.2 +++ b/wget/receipt	Fri Mar 02 11:13:24 2018 +0200
     7.3 @@ -1,4 +1,4 @@
     7.4 -# SliTaz package receipt.
     7.5 +# SliTaz package receipt v2.
     7.6  
     7.7  PACKAGE="wget"
     7.8  VERSION="1.19.1"
     7.9 @@ -7,24 +7,18 @@
    7.10  MAINTAINER="sygne@ombres.eu"
    7.11  LICENSE="GPL3"
    7.12  WEB_SITE="https://www.gnu.org/software/wget/"
    7.13 -HOST_ARCH="i486 arm"
    7.14 -CONFIG_FILES="/etc/wgetrc"
    7.15  
    7.16  TARBALL="$PACKAGE-$VERSION.tar.xz"
    7.17  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    7.18  
    7.19 -DEPENDS="openssl libidn pcre util-linux-uuid zlib"
    7.20  BUILD_DEPENDS="openssl-dev libidn-dev util-linux-uuid-dev gettext zlib-dev \
    7.21  perl pcre-dev"
    7.22  
    7.23 -# Handle cross compilation
    7.24 -case "$ARCH" in
    7.25 -	arm) ARCH_ARGS="--with-libssl-prefix=/cross/$ARCH/sysroot/usr/lib" ;;
    7.26 -esac
    7.27 +compile_rules() {
    7.28 +	case "$ARCH" in
    7.29 +		arm) ARCH_ARGS="--with-libssl-prefix=/cross/$ARCH/sysroot/usr/lib" ;;
    7.30 +	esac
    7.31  
    7.32 -# Rules to configure and make the package.
    7.33 -compile_rules()
    7.34 -{
    7.35  	./configure \
    7.36  		--with-ssl=openssl \
    7.37  		--with-openssl \
    7.38 @@ -33,8 +27,8 @@
    7.39  	make DESTDIR=$DESTDIR install
    7.40  }
    7.41  
    7.42 -# Rules to gen a SliTaz package suitable for Tazpkg.
    7.43 -genpkg_rules()
    7.44 -{
    7.45 +genpkg_rules() {
    7.46  	copy wget wgetrc
    7.47 +	DEPENDS="openssl libidn pcre util-linux-uuid zlib"
    7.48 +	CONFIG_FILES="/etc/wgetrc"
    7.49  }