wok annotate ldm/receipt @ rev 17923
Update kernel.org url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 10 16:29:03 2015 +0200 (2015-04-10) |
parents | |
children | a78610b2eb47 |
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@15721 | 10 WEB_SITE="http://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 } |