wok-current annotate cryptsetup/receipt @ rev 19870

linld: fix progname
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 30 15:54:03 2017 +0200 (2017-03-30)
parents 6ded87915b08
children 90fa9751f6a5
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 }