wok-6.x annotate ldm/receipt @ rev 24492
updated dnstop (20121017 -> 20210329)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 19 07:41:52 2022 +0100 (2022-02-19) |
parents | a78610b2eb47 |
children | f97d5405a108 |
rev | line source |
---|---|
pascal@15721 | 1 # SliTaz package receipt. |
pascal@15721 | 2 |
pascal@15721 | 3 PACKAGE="ldm" |
pascal@15721 | 4 VERSION="0.3" |
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" |
pascal@15721 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20669 | 10 WEB_SITE="https://github.com/LemonBoy/ldm" |
pascal@15721 | 11 WGET_URL="https://github.com/LemonBoy/ldm/tarball/v${VERSION}" |
pascal@15721 | 12 |
pascal@15721 | 13 DEPENDS="udev" |
pascal@15721 | 14 BUILD_DEPENDS="udev-dev util-linux-mount-dev util-linux-blkid wget" |
pascal@15721 | 15 |
pascal@24055 | 16 current_version() |
pascal@24055 | 17 { |
pascal@24055 | 18 wget -O - ${WGET_URL%/tarb*}/releases 2>/dev/null | \ |
pascal@24055 | 19 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 20 } |
pascal@24055 | 21 |
pascal@15721 | 22 # Rules to configure and make the package. |
pascal@15721 | 23 compile_rules() |
pascal@15721 | 24 { |
pascal@15721 | 25 cd $src |
pascal@15721 | 26 make ldm.o && |
pascal@15721 | 27 cc -o ldm ldm.o -ludev -lmount -lblkid && |
pascal@15721 | 28 make install |
pascal@15721 | 29 } |
pascal@15721 | 30 |
pascal@15721 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15721 | 32 genpkg_rules() |
pascal@15721 | 33 { |
pascal@15721 | 34 mkdir -p $fs/usr |
pascal@15721 | 35 cp -a $install/usr/bin $fs/usr |
pascal@15721 | 36 } |