wok-next view tcplay/receipt @ rev 20342
gkII: tiny png patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 17 15:57:17 2017 +0100 (2017-11-17) |
parents | 9689f1b75619 |
children | e6615350078d |
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/bwalex/tc-play"
11 WGET_URL="https://github.com/bwalex/tc-play/archive/v$VERSION.tar.gz"
13 BUILD_DEPENDS="cmake wget libdevmapper-dev libgcrypt-dev util-linux-uuid-dev \
14 libdevmapper openssl-dev zlib-dev"
15 SPLIT="tcplay libtcplay-dev libtcplay"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 make -f Makefile.classic
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 case $PACKAGE in
27 tcplay)
28 DEPENDS="libgcrypt libdevmapper libcrypto util-linux-uuid zlib udev"
29 mkdir -p $fs/usr/bin
30 cp -a $src/tcplay $fs/usr/bin
31 ;;
32 libtcplay-dev)
33 CAT="development|Free TrueCrypt implementation, development files."
34 DEPENDS="libgcrypt-dev libdevmapper-dev openssl-dev \
35 util-linux-uuid-dev zlib-dev"
36 mkdir -p $fs/usr/lib $fs/usr/include
37 cp -a $src/libtcplay.a $fs/usr/lib
38 cp -a $src/tcplay*.h $fs/usr/include
39 ;;
40 libtcplay)
41 CAT="system-tools|Free TrueCrypt implementation."
42 DEPENDS="libgcrypt libdevmapper libcrypto util-linux-uuid zlib udev"
43 mkdir -p $fs/usr/lib
44 cp -a $src/libtcplay.so* $fs/usr/lib
45 ;;
46 esac
47 }