wok-next view libblockdev/receipt @ rev 21303
updated gujin (2.8.6 -> 2.8.7)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 10 07:57:29 2019 +0100 (2019-12-10) |
parents | b5f2a6ab88b6 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libblockdev"
4 VERSION="2.20"
5 CATEGORY="libs"
6 SHORT_DESC="A library for manipulating block devices"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://github.com/storaged-project/libblockdev/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/libblockdev.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/storaged-project/libblockdev/releases/download/$VERSION-1/$TARBALL"
14 TARBALL_SHA1="5066dbd1098e433fe713a04b14033d130d041888"
16 BUILD_DEPENDS="automake libtool python python3 glib-dev \
17 gobject-introspection-dev eudev-dev kmod-dev cryptsetup-dev nss-dev \
18 coreutils-file-special volume_key-dev libdevmapper-dev parted-dev \
19 util-linux-mount-dev util-linux-blkid-dev libbytesize-dev ndctl-dev yaml-dev"
20 SPLIT="$PACKAGE-python $PACKAGE-python3 $PACKAGE-dev $PACKAGE"
22 COPY_python="python2*/"
23 COPY_python3="python3*/"
24 COPY_dev="@dev *.so"
26 CAT_python="libs|Python2 bindings"
27 CAT_python3="libs|Python3 bindings"
29 DEPENDS_python="$PACKAGE python"
30 DEPENDS_python3="$PACKAGE python3"
31 DEPENDS_std="cryptsetup eudev glib kmod libbytesize libdevmapper \
32 ndctl nss parted util-linux-blkid util-linux-mount util-linux-uuid \
33 volume_key yaml"
34 DEPENDS_dev="$PACKAGE glib-dev"
36 compile_rules() {
37 ./configure \
38 --without-gtk-doc \
39 --without-dm \
40 --with-python3 \
41 $CONFIGURE_ARGS &&
42 fix libtool &&
43 make &&
44 make install
45 }