wok-next annotate tcplay/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | da9e80c5d4bb |
children |
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" |
al@20503 | 6 SHORT_DESC="Free TrueCrypt implementation" |
pascal@16795 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@16795 | 8 LICENSE="BSD" |
al@20503 | 9 WEB_SITE="https://github.com/bwalex/tc-play" |
al@20503 | 10 |
pascal@16795 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@16795 | 12 WGET_URL="https://github.com/bwalex/tc-play/archive/v$VERSION.tar.gz" |
pascal@16795 | 13 |
al@20503 | 14 BUILD_DEPENDS="cmake libdevmapper-dev libgcrypt-dev util-linux-uuid-dev \ |
pascal@16795 | 15 libdevmapper openssl-dev zlib-dev" |
al@21020 | 16 SPLIT="libtcplay libtcplay-dev" |
pascal@16795 | 17 |
al@20503 | 18 compile_rules() { |
al@20503 | 19 make -f Makefile.classic || return 1 |
al@20503 | 20 |
al@20503 | 21 install -Dm755 $src/tcplay $install/usr/bin/tcplay |
al@20503 | 22 mkdir -p \ |
al@20503 | 23 $install/usr/lib/ \ |
al@20503 | 24 $install/usr/include/ |
al@20503 | 25 cp $src/libtcplay.so* $install/usr/lib/ |
al@20503 | 26 cp $src/libtcplay.a $install/usr/lib/ |
al@20503 | 27 cp $src/tcplay*.h $install/usr/include/ |
pascal@16795 | 28 } |
pascal@16795 | 29 |
al@20503 | 30 genpkg_rules() { |
pascal@20177 | 31 case $PACKAGE in |
al@20503 | 32 tcplay) |
al@20503 | 33 copy tcplay |
al@20503 | 34 DEPENDS="libgcrypt libdevmapper openssl util-linux-uuid zlib eudev" |
al@20503 | 35 ;; |
al@20503 | 36 libtcplay) |
al@20503 | 37 copy *.so* |
al@20503 | 38 CAT="system-tools|libraries" |
al@20503 | 39 DEPENDS="libgcrypt libdevmapper openssl util-linux-uuid zlib eudev" |
al@20503 | 40 ;; |
al@20503 | 41 libtcplay-dev) |
al@20503 | 42 copy @dev |
al@20503 | 43 DEPENDS="libgcrypt-dev libdevmapper-dev openssl-dev \ |
pascal@20177 | 44 util-linux-uuid-dev zlib-dev" |
al@20503 | 45 ;; |
pascal@20177 | 46 esac |
pascal@16795 | 47 } |