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