wok-next annotate ldm/receipt @ rev 21013
Small updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Oct 14 05:29:23 2018 +0300 (2018-10-14) |
parents | 5c189fc65a98 |
children | d5aab818505e |
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" |
al@20906 | 10 WEB_SITE="https://github.com/LemonBoy/ldm" |
pascal@15721 | 11 WGET_URL="https://github.com/LemonBoy/ldm/tarball/v${VERSION}" |
pascal@15721 | 12 |
al@20623 | 13 DEPENDS="eudev" |
al@20623 | 14 BUILD_DEPENDS="eudev-dev util-linux-mount-dev util-linux-blkid" |
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 } |