wok annotate ldm/receipt @ rev 23906
Add fstransform
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 03 14:59:04 2020 +0000 (2020-08-03) |
parents | ce9148142ee8 |
children | 5ea0ce1cecc0 |
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@15721 | 16 # Rules to configure and make the package. |
pascal@15721 | 17 compile_rules() |
pascal@15721 | 18 { |
pascal@15721 | 19 cd $src |
pascal@15721 | 20 make ldm.o && |
pascal@15721 | 21 cc -o ldm ldm.o -ludev -lmount -lblkid && |
pascal@15721 | 22 make install |
pascal@15721 | 23 } |
pascal@15721 | 24 |
pascal@15721 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15721 | 26 genpkg_rules() |
pascal@15721 | 27 { |
pascal@15721 | 28 mkdir -p $fs/usr |
pascal@15721 | 29 cp -a $install/usr/bin $fs/usr |
pascal@15721 | 30 } |