wok-undigest annotate ldm/receipt @ rev 1031

rocrail: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 01 11:52:23 2013 +0000 (2013-08-01)
parents d9c6b4352bd0
children 135ad0e1fc7d
rev   line source
pankso@860 1 # SliTaz package receipt.
pankso@860 2
pankso@860 3 PACKAGE="ldm"
pankso@860 4 VERSION="0.3"
pankso@860 5 CATEGORY="system-tools"
pankso@860 6 SHORT_DESC="l(ightweight) d(evice) m(ounter)."
pankso@860 7 MAINTAINER="pankso@slitaz.org"
pankso@860 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@860 9 WEB_SITE="http://github.com/LemonBoy/ldm"
pankso@860 10 WGET_URL="https://github.com/LemonBoy/ldm/tarball/v${VERSION}"
pankso@860 11
pankso@860 12 DEPENDS="udev"
pascal@995 13 BUILD_DEPENDS="udev-dev util-linux-mount-dev util-linux-blkid wget"
pankso@860 14
pankso@860 15 # Rules to configure and make the package.
pankso@860 16 compile_rules()
pankso@860 17 {
pankso@860 18 cd $src
pascal@995 19 make ldm.o &&
pascal@995 20 cc -o ldm ldm.o -ludev -lmount -lblkid &&
pascal@995 21 make install
pankso@860 22 }
pankso@860 23
pankso@860 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@860 25 genpkg_rules()
pankso@860 26 {
pankso@860 27 mkdir -p $fs/usr
pankso@860 28 cp -a $install/usr/bin $fs/usr
pankso@860 29 }