wok annotate ldm/receipt @ rev 25696

created recipe for dool
author Hans-G?nter Theisgen
date Sat May 11 17:17:55 2024 +0100 (7 weeks ago)
parents f97d5405a108
children
rev   line source
pascal@15721 1 # SliTaz package receipt.
pascal@15721 2
pascal@15721 3 PACKAGE="ldm"
Hans-G?nter@24708 4 VERSION="0.8"
pascal@15721 5 CATEGORY="system-tools"
pascal@15721 6 SHORT_DESC="l(ightweight) d(evice) m(ounter)."
pascal@15721 7 MAINTAINER="pankso@slitaz.org"
pascal@15721 8 LICENSE="MIT"
Hans-G?nter@24708 9 WEB_SITE="https://github.com/LemonBoy/ldm"
Hans-G?nter@24708 10 REPOLOGY="ldm-mounter"
Hans-G?nter@24708 11
pascal@15721 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@24708 13 WGET_URL="$WEB_SITE/tarball/v$VERSION"
pascal@15721 14
Hans-G?nter@24708 15 DEPENDS="glib udev"
Hans-G?nter@24708 16 BUILD_DEPENDS="glib-dev udev-dev util-linux-blkid util-linux-mount-dev"
pascal@15721 17
pascal@25600 18 # What is the latest version available today?
pascal@24055 19 current_version()
pascal@24055 20 {
pascal@24055 21 wget -O - ${WGET_URL%/tarb*}/releases 2>/dev/null | \
pascal@25600 22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
pascal@24055 23 }
pascal@24055 24
pascal@15721 25 # Rules to configure and make the package.
pascal@15721 26 compile_rules()
pascal@15721 27 {
Hans-G?nter@24708 28 export LDFLAGS="$LDFLAGS -ludev -lmount -lglib-2.0"
Hans-G?nter@24708 29
Hans-G?nter@24708 30 make &&
pascal@15721 31 make install
pascal@15721 32 }
pascal@15721 33
pascal@15721 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@15721 35 genpkg_rules()
pascal@15721 36 {
Hans-G?nter@24708 37 cook_copy_folders bin
pascal@15721 38 }