wok annotate cryptsetup/receipt @ rev 23365

updated perl-mail-sendmail (0.79 -> 0.80)
author Hans-G?nter Theisgen
date Tue Mar 31 11:21:06 2020 +0100 (2020-03-31)
parents 314dd7281637
children 31ba14fadb9a
rev   line source
Bill@1025 1 # SliTaz package receipt.
Bill@1025 2
Bill@1025 3 PACKAGE="cryptsetup"
pascal@23134 4 VERSION="2.3.1"
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
pascal@22840 19 current_version()
pascal@22840 20 {
pascal@22840 21 local base=$(wget -O - ${WGET_URL%/v*} 2>/dev/null | \
pascal@22841 22 sed '/href/!d;s|.*href="\(.*\)".*|\1|' | tail -n 1)
pascal@22840 23 wget -O - ${WGET_URL%/v*}/$base 2>/dev/null | sed \
pascal@22840 24 "/href/!d;/z/!d;s|.*href=\"$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | \
pascal@22840 25 tail -n1
pascal@22840 26 }
pascal@22840 27
Bill@1025 28 # Rules to configure and make the package.
Bill@1025 29 compile_rules()
Bill@1025 30 {
Hans-G?nter@22618 31 ./configure \
Hans-G?nter@22618 32 --prefix=/usr \
paul@5045 33 $CONFIGURE_ARGS &&
pascal@1514 34 make &&
slaxemulator@11087 35 make DESTDIR=$DESTDIR install
Bill@1025 36 }
Bill@1025 37
Bill@1025 38 # Rules to gen a SliTaz package suitable for Tazpkg.
Bill@1025 39 genpkg_rules()
Bill@1025 40 {
Bill@1025 41 mkdir -p $fs/usr/lib
Hans-G?nter@22618 42
Hans-G?nter@22618 43 cp -a $install/usr/sbin $fs/usr
Hans-G?nter@22618 44 cp -a $install/usr/lib/*.so* $fs/usr/lib
Bill@1025 45 }