wok-6.x annotate cryptsetup/receipt @ rev 22822

Add emu8051
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 06 12:27:36 2020 +0100 (2020-02-06)
parents 90fa9751f6a5
children bd6074cbab4c
rev   line source
Bill@1025 1 # SliTaz package receipt.
Bill@1025 2
Bill@1025 3 PACKAGE="cryptsetup"
Hans-G?nter@22618 4 VERSION="2.2.2"
Bill@1025 5 CATEGORY="system-tools"
Hans-G?nter@22618 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"
Hans-G?nter@22618 9 WEB_SITE="https://gitlab.com/$PACKAGE/$PACKAGE"
Hans-G?nter@22618 10
pascal@19495 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@19495 12 WGET_URL="https://www.kernel.org/pub/linux/utils/$PACKAGE/v${VERSION%.*}/$TARBALL"
Bill@1025 13
Hans-G?nter@22618 14 DEPENDS="e2fsprogs libdevmapper libgcrypt libjson-c openssl popt"
Hans-G?nter@22618 15 BUILD_DEPENDS="e2fsprogs-dev libdevmapper-dev libgcrypt-dev
Hans-G?nter@22618 16 libjson-c-dev openssl-dev popt-dev util-linux-blkid-dev
Hans-G?nter@22618 17 util-linux-uuid-dev"
pascal@15002 18
Bill@1025 19 # Rules to configure and make the package.
Bill@1025 20 compile_rules()
Bill@1025 21 {
Hans-G?nter@22618 22 ./configure \
Hans-G?nter@22618 23 --prefix=/usr \
paul@5045 24 $CONFIGURE_ARGS &&
pascal@1514 25 make &&
slaxemulator@11087 26 make DESTDIR=$DESTDIR install
Bill@1025 27 }
Bill@1025 28
Bill@1025 29 # Rules to gen a SliTaz package suitable for Tazpkg.
Bill@1025 30 genpkg_rules()
Bill@1025 31 {
Bill@1025 32 mkdir -p $fs/usr/lib
Hans-G?nter@22618 33
Hans-G?nter@22618 34 cp -a $install/usr/sbin $fs/usr
Hans-G?nter@22618 35 cp -a $install/usr/lib/*.so* $fs/usr/lib
Bill@1025 36 }