wok annotate cryptsetup/receipt @ rev 20347
libassuan update: 2.4.2 (2015 Dec) -> 2.5.1 (2017 Dec)
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sat Jun 09 10:38:15 2018 +0000 (2018-06-09) |
parents | f2cf0de52bd3 |
children | f4915935c316 |
rev | line source |
---|---|
Bill@1025 | 1 # SliTaz package receipt. |
Bill@1025 | 2 |
Bill@1025 | 3 PACKAGE="cryptsetup" |
pascal@20166 | 4 VERSION="2.0.0" |
Bill@1025 | 5 CATEGORY="system-tools" |
jozee@5043 | 6 SHORT_DESC="dm-crypt setup tool for encryption of block devices" |
b1+slitaz@1802 | 7 MAINTAINER="b1+slitaz@nagel.org" |
pascal@15002 | 8 LICENSE="GPL2" |
pascal@19495 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@19495 | 10 WEB_SITE="https://gitlab.com/$PACKAGE/$PACKAGE" |
pascal@19495 | 11 WGET_URL="https://www.kernel.org/pub/linux/utils/$PACKAGE/v${VERSION%.*}/$TARBALL" |
Bill@1025 | 12 |
pascal@20166 | 13 DEPENDS="e2fsprogs popt libgcrypt libdevmapper libjson-c" |
pascal@15002 | 14 BUILD_DEPENDS="e2fsprogs-dev popt-dev libgcrypt libgcrypt-dev libdevmapper \ |
pascal@20166 | 15 libdevmapper-dev util-linux-uuid util-linux-uuid-dev popt libjson-c-dev" |
pascal@15002 | 16 |
Bill@1025 | 17 # Rules to configure and make the package. |
Bill@1025 | 18 compile_rules() |
Bill@1025 | 19 { |
paul@5045 | 20 ./configure \ |
paul@5045 | 21 --prefix=/usr \ |
paul@5045 | 22 $CONFIGURE_ARGS && |
pascal@1514 | 23 make && |
slaxemulator@11087 | 24 make DESTDIR=$DESTDIR install |
Bill@1025 | 25 } |
Bill@1025 | 26 |
Bill@1025 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
Bill@1025 | 28 genpkg_rules() |
Bill@1025 | 29 { |
Bill@1025 | 30 mkdir -p $fs/usr/lib |
pascal@15002 | 31 cp -a $install/usr/sbin $fs/usr |
pascal@15002 | 32 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Bill@1025 | 33 } |