wok-next view 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
line source
1 # SliTaz package receipt v2.
3 PACKAGE="tcplay"
4 VERSION="2.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Free TrueCrypt implementation"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://github.com/bwalex/tc-play"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/bwalex/tc-play/archive/v$VERSION.tar.gz"
14 BUILD_DEPENDS="cmake libdevmapper-dev libgcrypt-dev util-linux-uuid-dev \
15 libdevmapper openssl-dev zlib-dev"
16 SPLIT="libtcplay libtcplay-dev"
18 compile_rules() {
19 make -f Makefile.classic || return 1
21 install -Dm755 $src/tcplay $install/usr/bin/tcplay
22 mkdir -p \
23 $install/usr/lib/ \
24 $install/usr/include/
25 cp $src/libtcplay.so* $install/usr/lib/
26 cp $src/libtcplay.a $install/usr/lib/
27 cp $src/tcplay*.h $install/usr/include/
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 tcplay)
33 copy tcplay
34 DEPENDS="libgcrypt libdevmapper openssl util-linux-uuid zlib eudev"
35 ;;
36 libtcplay)
37 copy *.so*
38 CAT="system-tools|libraries"
39 DEPENDS="libgcrypt libdevmapper openssl util-linux-uuid zlib eudev"
40 ;;
41 libtcplay-dev)
42 copy @dev
43 DEPENDS="libgcrypt-dev libdevmapper-dev openssl-dev \
44 util-linux-uuid-dev zlib-dev"
45 ;;
46 esac
47 }