wok-next annotate cryptsetup/receipt @ rev 19769
Update Perl XS modules that need perl-dev to build (unlike Pure Perl), rebuild all module packages as Perl version change.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 14 09:51:23 2017 +0300 (2017-06-14) |
parents | 6ded87915b08 |
children | 0e8dadf052b9 |
rev | line source |
---|---|
Bill@1025 | 1 # SliTaz package receipt. |
Bill@1025 | 2 |
Bill@1025 | 3 PACKAGE="cryptsetup" |
pascal@19495 | 4 VERSION="1.7.3" |
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@15002 | 13 DEPENDS="e2fsprogs popt libgcrypt libdevmapper" |
pascal@15002 | 14 BUILD_DEPENDS="e2fsprogs-dev popt-dev libgcrypt libgcrypt-dev libdevmapper \ |
pascal@15008 | 15 libdevmapper-dev util-linux-uuid util-linux-uuid-dev popt" |
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 } |