wok-next rev 21144

Small updates.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jan 26 15:54:42 2019 +0200 (2019-01-26)
parents 29128929e4f9
children 89617d35ca0c
files less/receipt libatasmart/receipt libblockdev/receipt libbluray/receipt libbytesize/receipt
line diff
     1.1 --- a/less/receipt	Fri Jan 25 15:37:19 2019 +0200
     1.2 +++ b/less/receipt	Sat Jan 26 15:54:42 2019 +0200
     1.3 @@ -7,23 +7,21 @@
     1.4  MAINTAINER="devel@slitaz.org"
     1.5  LICENSE="GPL3"
     1.6  WEB_SITE="http://www.greenwoodsoftware.com/less/"
     1.7 -LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter06/less.html"
     1.8 +LFS="http://www.linuxfromscratch.org/lfs/view/development/chapter06/less.html"
     1.9  
    1.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.11  WGET_URL="$WEB_SITE$TARBALL"
    1.12 +TARBALL_SHA1="d8ba1f43e88b706ef701f978cd3262b5b44dffd6"
    1.13  
    1.14  BUILD_DEPENDS="ncurses-dev pcre-dev"
    1.15 +DEPENDS="libpcre ncurses"
    1.16 +
    1.17 +TAGS="LFS"
    1.18  
    1.19  compile_rules() {
    1.20  	./configure \
    1.21  		--with-regex=pcre \
    1.22  		$CONFIGURE_ARGS &&
    1.23  	make &&
    1.24 -	make DESTDIR=$install install
    1.25 +	make DESTDIR=$install install # keep DESTDIR
    1.26  }
    1.27 -
    1.28 -genpkg_rules() {
    1.29 -	copy @std
    1.30 -	DEPENDS="libpcre ncurses"
    1.31 -	TAGS="LFS"
    1.32 -}
     2.1 --- a/libatasmart/receipt	Fri Jan 25 15:37:19 2019 +0200
     2.2 +++ b/libatasmart/receipt	Sat Jan 26 15:54:42 2019 +0200
     2.3 @@ -11,9 +11,15 @@
     2.4  
     2.5  TARBALL="$PACKAGE-$VERSION.tar.xz"
     2.6  WGET_URL="http://0pointer.de/public/$TARBALL"
     2.7 +TARBALL_SHA1="0d0745b6bd2e5b9461d15966b5daac6c98302de8"
     2.8  
     2.9  BUILD_DEPENDS="eudev-dev"
    2.10 -SPLIT="$PACKAGE-dev"
    2.11 +SPLIT="$PACKAGE-dev $PACKAGE"
    2.12 +
    2.13 +COPY_dev="@dev *.so"
    2.14 +
    2.15 +DEPENDS_std="eudev"
    2.16 +DEPENDS_dev="$PACKAGE eudev-dev"
    2.17  
    2.18  compile_rules() {
    2.19  	./configure \
    2.20 @@ -23,16 +29,3 @@
    2.21  	make &&
    2.22  	make docdir=/usr/share/doc/$PACKAGE-$VERSION install
    2.23  }
    2.24 -
    2.25 -genpkg_rules() {
    2.26 -	case $PACKAGE in
    2.27 -		libatasmart)
    2.28 -			copy @std
    2.29 -			DEPENDS="eudev"
    2.30 -			;;
    2.31 -		*-dev)
    2.32 -			copy @dev
    2.33 -			DEPENDS="libatasmart eudev-dev"
    2.34 -			;;
    2.35 -	esac
    2.36 -}
     3.1 --- a/libblockdev/receipt	Fri Jan 25 15:37:19 2019 +0200
     3.2 +++ b/libblockdev/receipt	Sat Jan 26 15:54:42 2019 +0200
     3.3 @@ -11,12 +11,27 @@
     3.4  
     3.5  TARBALL="$PACKAGE-$VERSION.tar.gz"
     3.6  WGET_URL="https://github.com/storaged-project/libblockdev/releases/download/$VERSION-1/$TARBALL"
     3.7 +TARBALL_SHA1="5066dbd1098e433fe713a04b14033d130d041888"
     3.8  
     3.9  BUILD_DEPENDS="automake libtool python python3 glib-dev \
    3.10  gobject-introspection-dev eudev-dev kmod-dev cryptsetup-dev nss-dev \
    3.11  coreutils-file-special volume_key-dev libdevmapper-dev parted-dev \
    3.12  util-linux-mount-dev util-linux-blkid-dev libbytesize-dev ndctl-dev yaml-dev"
    3.13 -SPLIT="$PACKAGE-python $PACKAGE-python3 $PACKAGE $PACKAGE-dev"
    3.14 +SPLIT="$PACKAGE-python $PACKAGE-python3 $PACKAGE-dev $PACKAGE"
    3.15 +
    3.16 +COPY_python="python2*/"
    3.17 +COPY_python3="python3*/"
    3.18 +COPY_dev="@dev *.so"
    3.19 +
    3.20 +CAT_python="libs|Python2 bindings"
    3.21 +CAT_python3="libs|Python3 bindings"
    3.22 +
    3.23 +DEPENDS_python="$PACKAGE python"
    3.24 +DEPENDS_python3="$PACKAGE python3"
    3.25 +DEPENDS_std="cryptsetup eudev glib kmod libbytesize libdevmapper \
    3.26 +ndctl nss parted util-linux-blkid util-linux-mount util-linux-uuid \
    3.27 +volume_key yaml"
    3.28 +DEPENDS_dev="$PACKAGE glib-dev"
    3.29  
    3.30  compile_rules() {
    3.31  	./configure \
    3.32 @@ -28,28 +43,3 @@
    3.33  	make &&
    3.34  	make install
    3.35  }
    3.36 -
    3.37 -genpkg_rules() {
    3.38 -	case $PACKAGE in
    3.39 -		*-python)
    3.40 -			copy python2*/
    3.41 -			CAT="libs|Python2 bindings"
    3.42 -			DEPENDS="libblockdev python"
    3.43 -			;;
    3.44 -		*-python3)
    3.45 -			copy python3*/
    3.46 -			CAT="libs|Python3 bindings"
    3.47 -			DEPENDS="libblockdev python3"
    3.48 -			;;
    3.49 -		libblockdev)
    3.50 -			copy @std @rm
    3.51 -			DEPENDS="cryptsetup eudev glib kmod libbytesize libdevmapper \
    3.52 -			ndctl nss parted util-linux-blkid util-linux-mount util-linux-uuid \
    3.53 -			volume_key yaml"
    3.54 -			;;
    3.55 -		*-dev)
    3.56 -			copy @dev
    3.57 -			DEPENDS="libblockdev libblockdev-python glib-dev"
    3.58 -			;;
    3.59 -	esac
    3.60 -}
     4.1 --- a/libbluray/receipt	Fri Jan 25 15:37:19 2019 +0200
     4.2 +++ b/libbluray/receipt	Sat Jan 26 15:54:42 2019 +0200
     4.3 @@ -10,9 +10,15 @@
     4.4  
     4.5  TARBALL="$PACKAGE-$VERSION.tar.bz2"
     4.6  WGET_URL="ftp://ftp.videolan.org/pub/videolan/libbluray/$VERSION/$TARBALL"
     4.7 +TARBALL_SHA1="025ef1c0a25b42f4a13a9fb2df09fc9cef1a821b"
     4.8  
     4.9  BUILD_DEPENDS="libxml2-dev freetype-dev fontconfig-dev"
    4.10 -SPLIT="$PACKAGE-dev"
    4.11 +SPLIT="$PACKAGE-dev $PACKAGE"
    4.12 +
    4.13 +COPY_dev="@dev *.so"
    4.14 +
    4.15 +DEPENDS_std="fontconfig freetype libxml2"
    4.16 +DEPENDS_dev="$PACKAGE fontconfig-dev freetype-dev libxml2-dev"
    4.17  
    4.18  compile_rules() {
    4.19  	./configure \
    4.20 @@ -23,17 +29,3 @@
    4.21  	make &&
    4.22  	make install
    4.23  }
    4.24 -
    4.25 -genpkg_rules() {
    4.26 -	case $PACKAGE in
    4.27 -		libbluray)
    4.28 -			copy @std
    4.29 -			DEPENDS="fontconfig freetype libxml2"
    4.30 -			;;
    4.31 -		*-dev)
    4.32 -			copy @dev
    4.33 -			DEPENDS="libbluray \
    4.34 -			fontconfig-dev freetype-dev libxml2-dev"
    4.35 -			;;
    4.36 -	esac
    4.37 -}
     5.1 --- a/libbytesize/receipt	Fri Jan 25 15:37:19 2019 +0200
     5.2 +++ b/libbytesize/receipt	Sat Jan 26 15:54:42 2019 +0200
     5.3 @@ -11,9 +11,19 @@
     5.4  
     5.5  TARBALL="$PACKAGE-$VERSION.tar.gz"
     5.6  WGET_URL="https://github.com/storaged-project/libbytesize/releases/download/$VERSION/$TARBALL"
     5.7 +TARBALL_SHA1="ef29982499abeeeeffc71cfa500eea15ab64ceb5"
     5.8  
     5.9  BUILD_DEPENDS="gettext-dev gmp-dev mpfr-dev pcre-dev"
    5.10 -SPLIT="$PACKAGE-python $PACKAGE $PACKAGE-dev"
    5.11 +SPLIT="$PACKAGE-python $PACKAGE-dev $PACKAGE"
    5.12 +
    5.13 +COPY_python="python2*/"
    5.14 +COPY_dev="@dev *.so"
    5.15 +
    5.16 +CAT_python="libs|Python2 bindings"
    5.17 +
    5.18 +DEPENDS_python="$PACKAGE python"
    5.19 +DEPENDS_std="gmp libpcre mpfr"
    5.20 +DEPENDS_dev="$PACKAGE $PACKAGE-python gmp-dev mpfr-dev"
    5.21  
    5.22  compile_rules() {
    5.23  	./configure $CONFIGURE_ARGS &&
    5.24 @@ -21,22 +31,3 @@
    5.25  	make &&
    5.26  	make install
    5.27  }
    5.28 -
    5.29 -genpkg_rules() {
    5.30 -	case $PACKAGE in
    5.31 -		*-python)
    5.32 -			copy *.py
    5.33 -			DEPENDS="libbytesize python"
    5.34 -			CAT="libs|python bindings"
    5.35 -			;;
    5.36 -		libbytesize)
    5.37 -			copy @std @rm
    5.38 -			DEPENDS="gmp libpcre mpfr"
    5.39 -			;;
    5.40 -		*-dev)
    5.41 -			copy @dev
    5.42 -			DEPENDS="libbytesize libbytesize-python \
    5.43 -			gmp-dev mpfr-dev"
    5.44 -			;;
    5.45 -	esac
    5.46 -}