wok-next view libblockdev/receipt @ rev 20074
Up dooble, smtube
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Wed Oct 25 05:01:33 2017 +0200 (2017-10-25) |
parents | |
children | 2d54d154d5ca |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libblockdev"
4 VERSION="2.11-1"
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/stable/general/libblockdev.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/storaged-project/libblockdev/archive/$TARBALL"
15 BUILD_DEPENDS="automake libtool python glib-dev eudev-dev cryptsetup-dev \
16 nss-dev coreutils-file-special libdevmapper-dev kmod-dev parted-dev \
17 util-linux-mount-dev util-linux-blkid-dev libbytesize-dev volume_key-dev"
18 SPLIT="libblockdev-python libblockdev-dev"
20 compile_rules() {
21 ./autogen.sh &&
23 ./configure \
24 --without-dm \
25 --sysconfdir=/etc \
26 $CONFIGURE_ARGS &&
27 make && make install
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 libblockdev)
33 copy @std; rm -r $fs/usr/lib/python2.7/
34 DEPENDS="cryptsetup eudev glib gmp gpgme kmod libassuan \
35 libbytesize libdevmapper libffi libgcrypt libgpg-error liblzma \
36 mpfr nspr nss parted pcre util-linux-blkid util-linux-mount \
37 util-linux-uuid volume_key zlib"
38 ;;
39 *-python)
40 copy *.py
41 CAT="libs|python bindings"
42 DEPENDS="libblockdev python"
43 ;;
44 *-dev)
45 copy @dev
46 DEPENDS="libblockdev libblockdev-python cryptsetup-dev eudev-dev \
47 glib-dev gmp-dev gpgme-dev kmod-dev libassuan-dev libbytesize-dev \
48 libdevmapper-dev libffi-dev libgcrypt-dev libgpg-error-dev \
49 mpfr-dev nspr-dev nss-dev parted-dev pcre-dev util-linux-blkid-dev \
50 util-linux-mount-dev util-linux-uuid-dev volume_key-dev xz-dev \
51 zlib-dev"
52 ;;
53 esac
54 }