wok annotate cryptsetup/receipt @ rev 22125
updated cmake (3.7.1 -> 3.15.5)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Nov 04 09:25:11 2019 +0100 (2019-11-04) |
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 } |