wok annotate tcplay/receipt @ rev 25808

created recipe for xmenu
author Hans-G?nter Theisgen
date Thu Dec 19 16:09:37 2024 +0100 (5 days ago)
parents 5ea0ce1cecc0
children
rev   line source
pascal@16795 1 # SliTaz package receipt.
pascal@16795 2
pascal@16795 3 PACKAGE="tcplay"
Hans-G?nter@23692 4 VERSION="3.3"
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"
Hans-G?nter@23692 9 WEB_SITE="https://github.com/bwalex/tc-play"
Hans-G?nter@23692 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
Hans-G?nter@23692 14 DEPENDS="libdevmapper libcrypto libgcrypt util-linux-uuid zlib udev"
Hans-G?nter@23692 15 BUILD_DEPENDS="cmake libdevmapper libdevmapper-dev libgcrypt-dev
Hans-G?nter@23692 16 openssl-dev util-linux-uuid-dev zlib-dev"
pascal@16795 17
pascal@24055 18 current_version()
pascal@24055 19 {
pascal@24299 20 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
pascal@24055 21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 22 }
pascal@24055 23
pascal@16795 24 # Rules to configure and make the package.
pascal@16795 25 compile_rules()
pascal@16795 26 {
pascal@16795 27 make -f Makefile.classic
pascal@16795 28 }
pascal@16795 29
pascal@16795 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@16795 31 genpkg_rules()
pascal@16795 32 {
pascal@16795 33 mkdir -p $fs/usr/bin
Hans-G?nter@23692 34 cp -a $src/tcplay $fs/usr/bin
pascal@16795 35 }