wok-next annotate tcplay/receipt @ rev 20177
Up sctp-tools (1.0.17), sg3_utils (1.42), squid (3.5.27), strigi (0.7.8), unixODBC (2.3.4), vcdimager (0.7.24)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 02 09:14:23 2017 +0100 (2017-11-02) |
parents | 9689f1b75619 |
children | e6615350078d |
rev | line source |
---|---|
pascal@20177 | 1 # SliTaz package receipt v2. |
pascal@16795 | 2 |
pascal@16795 | 3 PACKAGE="tcplay" |
pascal@16795 | 4 VERSION="2.0" |
pascal@16795 | 5 CATEGORY="system-tools" |
pascal@16795 | 6 SHORT_DESC="Free TrueCrypt implementation." |
pascal@16795 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@16795 | 8 LICENSE="BSD" |
pascal@16795 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@16795 | 10 WEB_SITE="https://github.com/bwalex/tc-play" |
pascal@16795 | 11 WGET_URL="https://github.com/bwalex/tc-play/archive/v$VERSION.tar.gz" |
pascal@16795 | 12 |
pascal@16795 | 13 BUILD_DEPENDS="cmake wget libdevmapper-dev libgcrypt-dev util-linux-uuid-dev \ |
pascal@16795 | 14 libdevmapper openssl-dev zlib-dev" |
pascal@20177 | 15 SPLIT="tcplay libtcplay-dev libtcplay" |
pascal@16795 | 16 |
pascal@16795 | 17 # Rules to configure and make the package. |
pascal@16795 | 18 compile_rules() |
pascal@16795 | 19 { |
pascal@16795 | 20 make -f Makefile.classic |
pascal@16795 | 21 } |
pascal@16795 | 22 |
pascal@16795 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@16795 | 24 genpkg_rules() |
pascal@16795 | 25 { |
pascal@20177 | 26 case $PACKAGE in |
pascal@20177 | 27 tcplay) |
pascal@20177 | 28 DEPENDS="libgcrypt libdevmapper libcrypto util-linux-uuid zlib udev" |
pascal@20177 | 29 mkdir -p $fs/usr/bin |
pascal@20177 | 30 cp -a $src/tcplay $fs/usr/bin |
pascal@20177 | 31 ;; |
pascal@20177 | 32 libtcplay-dev) |
pascal@20177 | 33 CAT="development|Free TrueCrypt implementation, development files." |
pascal@20177 | 34 DEPENDS="libgcrypt-dev libdevmapper-dev openssl-dev \ |
pascal@20177 | 35 util-linux-uuid-dev zlib-dev" |
pascal@20177 | 36 mkdir -p $fs/usr/lib $fs/usr/include |
pascal@20177 | 37 cp -a $src/libtcplay.a $fs/usr/lib |
pascal@20177 | 38 cp -a $src/tcplay*.h $fs/usr/include |
pascal@20177 | 39 ;; |
pascal@20177 | 40 libtcplay) |
pascal@20177 | 41 CAT="system-tools|Free TrueCrypt implementation." |
pascal@20177 | 42 DEPENDS="libgcrypt libdevmapper libcrypto util-linux-uuid zlib udev" |
pascal@20177 | 43 mkdir -p $fs/usr/lib |
pascal@20177 | 44 cp -a $src/libtcplay.so* $fs/usr/lib |
pascal@20177 | 45 ;; |
pascal@20177 | 46 esac |
pascal@16795 | 47 } |