wok diff ldm/receipt @ rev 24780
transmission: autoconf 2.70+ bug workaround
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 19 20:17:02 2022 +0000 (2022-03-19) |
parents | 5ea0ce1cecc0 |
children | 7364ffdaaa60 |
line diff
1.1 --- a/ldm/receipt Tue Jun 08 08:46:05 2021 +0000 1.2 +++ b/ldm/receipt Sat Mar 19 20:17:02 2022 +0000 1.3 @@ -1,17 +1,19 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="ldm" 1.7 -VERSION="0.3" 1.8 +VERSION="0.8" 1.9 CATEGORY="system-tools" 1.10 SHORT_DESC="l(ightweight) d(evice) m(ounter)." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 LICENSE="MIT" 1.13 +WEB_SITE="https://github.com/LemonBoy/ldm" 1.14 +REPOLOGY="ldm-mounter" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 -WEB_SITE="https://github.com/LemonBoy/ldm" 1.18 -WGET_URL="https://github.com/LemonBoy/ldm/tarball/v${VERSION}" 1.19 +WGET_URL="$WEB_SITE/tarball/v$VERSION" 1.20 1.21 -DEPENDS="udev" 1.22 -BUILD_DEPENDS="udev-dev util-linux-mount-dev util-linux-blkid wget" 1.23 +DEPENDS="glib udev" 1.24 +BUILD_DEPENDS="glib-dev udev-dev util-linux-blkid util-linux-mount-dev" 1.25 1.26 current_version() 1.27 { 1.28 @@ -22,15 +24,14 @@ 1.29 # Rules to configure and make the package. 1.30 compile_rules() 1.31 { 1.32 - cd $src 1.33 - make ldm.o && 1.34 - cc -o ldm ldm.o -ludev -lmount -lblkid && 1.35 + export LDFLAGS="$LDFLAGS -ludev -lmount -lglib-2.0" 1.36 + 1.37 + make && 1.38 make install 1.39 } 1.40 1.41 # Rules to gen a SliTaz package suitable for Tazpkg. 1.42 genpkg_rules() 1.43 { 1.44 - mkdir -p $fs/usr 1.45 - cp -a $install/usr/bin $fs/usr 1.46 + cook_copy_folders bin 1.47 }