wok rev 24708

updated ldm (0.3 -> 0.8)
author Hans-G?nter Theisgen
date Mon Mar 14 16:37:52 2022 +0100 (2022-03-14)
parents cbdedb979b58
children e833ef850aaf
files ldm/description.txt ldm/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ldm/description.txt	Mon Mar 14 16:37:52 2022 +0100
     1.3 @@ -0,0 +1,4 @@
     1.4 +Ldm is a lightweight device mounter following the UNIX philosophy
     1.5 +written in C and based on udev and libmount.
     1.6 +The user can use umount to unmount the device or ldmc with the -r switch.
     1.7 +The daemon can be controlled with the ldmc tool.
     2.1 --- a/ldm/receipt	Mon Mar 14 16:18:13 2022 +0100
     2.2 +++ b/ldm/receipt	Mon Mar 14 16:37:52 2022 +0100
     2.3 @@ -1,17 +1,19 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="ldm"
     2.7 -VERSION="0.3"
     2.8 +VERSION="0.8"
     2.9  CATEGORY="system-tools"
    2.10  SHORT_DESC="l(ightweight) d(evice) m(ounter)."
    2.11  MAINTAINER="pankso@slitaz.org"
    2.12  LICENSE="MIT"
    2.13 +WEB_SITE="https://github.com/LemonBoy/ldm"
    2.14 +REPOLOGY="ldm-mounter"
    2.15 +
    2.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.17 -WEB_SITE="https://github.com/LemonBoy/ldm"
    2.18 -WGET_URL="https://github.com/LemonBoy/ldm/tarball/v${VERSION}"
    2.19 +WGET_URL="$WEB_SITE/tarball/v$VERSION"
    2.20  
    2.21 -DEPENDS="udev"
    2.22 -BUILD_DEPENDS="udev-dev util-linux-mount-dev util-linux-blkid wget"
    2.23 +DEPENDS="glib udev"
    2.24 +BUILD_DEPENDS="glib-dev udev-dev util-linux-blkid util-linux-mount-dev"
    2.25  
    2.26  current_version()
    2.27  {
    2.28 @@ -22,15 +24,14 @@
    2.29  # Rules to configure and make the package.
    2.30  compile_rules()
    2.31  {
    2.32 -	cd $src
    2.33 -	make ldm.o &&
    2.34 -	cc -o ldm ldm.o -ludev -lmount -lblkid &&
    2.35 +	export	LDFLAGS="$LDFLAGS -ludev -lmount -lglib-2.0"
    2.36 +
    2.37 +	make &&
    2.38  	make install
    2.39  }
    2.40  
    2.41  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.42  genpkg_rules()
    2.43  {
    2.44 -	mkdir -p $fs/usr
    2.45 -	cp -a $install/usr/bin $fs/usr
    2.46 +	cook_copy_folders	bin
    2.47  }