# HG changeset patch # User Christophe Lincoln # Date 1347569821 -7200 # Node ID d9c6b4352bd01f43053250678539e94e3db0d79e # Parent eda7dc636a22aa972ee581eb2191dbb5d9755b67 Add ldm (light device manager) automount device using libudev and libmount diff -r eda7dc636a22 -r d9c6b4352bd0 ldm/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ldm/receipt Thu Sep 13 22:57:01 2012 +0200 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="ldm" +VERSION="0.3" +CATEGORY="system-tools" +SHORT_DESC="l(ightweight) d(evice) m(ounter)." +MAINTAINER="pankso@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://github.com/LemonBoy/ldm" +WGET_URL="https://github.com/LemonBoy/ldm/tarball/v${VERSION}" + +DEPENDS="udev" +BUILD_DEPENDS="udev-dev util-linux-mount-dev wget" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + export LDFLAGS="" + make +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $install/usr/bin $fs/usr +}