wok-next diff libblockdev/receipt @ rev 21529

updated buildroot (2014.08 -> 2020.05)
author Hans-G?nter Theisgen
date Sat Jun 20 16:34:10 2020 +0100 (2020-06-20)
parents b5f2a6ab88b6
children
line diff
     1.1 --- a/libblockdev/receipt	Sat Oct 13 17:31:50 2018 +0300
     1.2 +++ b/libblockdev/receipt	Sat Jun 20 16:34:10 2020 +0100
     1.3 @@ -11,12 +11,27 @@
     1.4  
     1.5  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.6  WGET_URL="https://github.com/storaged-project/libblockdev/releases/download/$VERSION-1/$TARBALL"
     1.7 +TARBALL_SHA1="5066dbd1098e433fe713a04b14033d130d041888"
     1.8  
     1.9  BUILD_DEPENDS="automake libtool python python3 glib-dev \
    1.10  gobject-introspection-dev eudev-dev kmod-dev cryptsetup-dev nss-dev \
    1.11  coreutils-file-special volume_key-dev libdevmapper-dev parted-dev \
    1.12  util-linux-mount-dev util-linux-blkid-dev libbytesize-dev ndctl-dev yaml-dev"
    1.13 -SPLIT="$PACKAGE-python $PACKAGE-python3 $PACKAGE $PACKAGE-dev"
    1.14 +SPLIT="$PACKAGE-python $PACKAGE-python3 $PACKAGE-dev $PACKAGE"
    1.15 +
    1.16 +COPY_python="python2*/"
    1.17 +COPY_python3="python3*/"
    1.18 +COPY_dev="@dev *.so"
    1.19 +
    1.20 +CAT_python="libs|Python2 bindings"
    1.21 +CAT_python3="libs|Python3 bindings"
    1.22 +
    1.23 +DEPENDS_python="$PACKAGE python"
    1.24 +DEPENDS_python3="$PACKAGE python3"
    1.25 +DEPENDS_std="cryptsetup eudev glib kmod libbytesize libdevmapper \
    1.26 +ndctl nss parted util-linux-blkid util-linux-mount util-linux-uuid \
    1.27 +volume_key yaml"
    1.28 +DEPENDS_dev="$PACKAGE glib-dev"
    1.29  
    1.30  compile_rules() {
    1.31  	./configure \
    1.32 @@ -28,28 +43,3 @@
    1.33  	make &&
    1.34  	make install
    1.35  }
    1.36 -
    1.37 -genpkg_rules() {
    1.38 -	case $PACKAGE in
    1.39 -		*-python)
    1.40 -			copy python2*/
    1.41 -			CAT="libs|Python2 bindings"
    1.42 -			DEPENDS="libblockdev python"
    1.43 -			;;
    1.44 -		*-python3)
    1.45 -			copy python3*/
    1.46 -			CAT="libs|Python3 bindings"
    1.47 -			DEPENDS="libblockdev python3"
    1.48 -			;;
    1.49 -		libblockdev)
    1.50 -			copy @std @rm
    1.51 -			DEPENDS="cryptsetup eudev glib kmod libbytesize libdevmapper \
    1.52 -			ndctl nss parted util-linux-blkid util-linux-mount util-linux-uuid \
    1.53 -			volume_key yaml"
    1.54 -			;;
    1.55 -		*-dev)
    1.56 -			copy @dev
    1.57 -			DEPENDS="libblockdev libblockdev-python glib-dev"
    1.58 -			;;
    1.59 -	esac
    1.60 -}