wok-6.x annotate ldm/receipt @ rev 25415
updated wordwarvi (1.0.2 -> 1.0.4)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Aug 04 08:54:13 2022 +0100 (2022-08-04) |
parents | 5ea0ce1cecc0 |
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@24055 | 18 current_version() |
pascal@24055 | 19 { |
pascal@24055 | 20 wget -O - ${WGET_URL%/tarb*}/releases 2>/dev/null | \ |
pascal@24055 | 21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 22 } |
pascal@24055 | 23 |
pascal@15721 | 24 # Rules to configure and make the package. |
pascal@15721 | 25 compile_rules() |
pascal@15721 | 26 { |
Hans-G?nter@24708 | 27 export LDFLAGS="$LDFLAGS -ludev -lmount -lglib-2.0" |
Hans-G?nter@24708 | 28 |
Hans-G?nter@24708 | 29 make && |
pascal@15721 | 30 make install |
pascal@15721 | 31 } |
pascal@15721 | 32 |
pascal@15721 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15721 | 34 genpkg_rules() |
pascal@15721 | 35 { |
Hans-G?nter@24708 | 36 cook_copy_folders bin |
pascal@15721 | 37 } |