# HG changeset patch # User Hans-G?nter Theisgen # Date 1647272272 -3600 # Node ID f97d5405a108c766463fce34049cf583768da275 # Parent cbdedb979b582504c2701aff0f5612f8ce062a57 updated ldm (0.3 -> 0.8) diff -r cbdedb979b58 -r f97d5405a108 ldm/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ldm/description.txt Mon Mar 14 16:37:52 2022 +0100 @@ -0,0 +1,4 @@ +Ldm is a lightweight device mounter following the UNIX philosophy +written in C and based on udev and libmount. +The user can use umount to unmount the device or ldmc with the -r switch. +The daemon can be controlled with the ldmc tool. diff -r cbdedb979b58 -r f97d5405a108 ldm/receipt --- a/ldm/receipt Mon Mar 14 16:18:13 2022 +0100 +++ b/ldm/receipt Mon Mar 14 16:37:52 2022 +0100 @@ -1,17 +1,19 @@ # SliTaz package receipt. PACKAGE="ldm" -VERSION="0.3" +VERSION="0.8" CATEGORY="system-tools" SHORT_DESC="l(ightweight) d(evice) m(ounter)." MAINTAINER="pankso@slitaz.org" LICENSE="MIT" +WEB_SITE="https://github.com/LemonBoy/ldm" +REPOLOGY="ldm-mounter" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="https://github.com/LemonBoy/ldm" -WGET_URL="https://github.com/LemonBoy/ldm/tarball/v${VERSION}" +WGET_URL="$WEB_SITE/tarball/v$VERSION" -DEPENDS="udev" -BUILD_DEPENDS="udev-dev util-linux-mount-dev util-linux-blkid wget" +DEPENDS="glib udev" +BUILD_DEPENDS="glib-dev udev-dev util-linux-blkid util-linux-mount-dev" current_version() { @@ -22,15 +24,14 @@ # Rules to configure and make the package. compile_rules() { - cd $src - make ldm.o && - cc -o ldm ldm.o -ludev -lmount -lblkid && + export LDFLAGS="$LDFLAGS -ludev -lmount -lglib-2.0" + + make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr - cp -a $install/usr/bin $fs/usr + cook_copy_folders bin }