wok view ldm/receipt @ rev 25451

Add bluez-gatttool
author Stanislas Leduc <shann@slitaz.org>
date Thu Sep 15 07:47:22 2022 +0000 (2022-09-15)
parents 5ea0ce1cecc0
children 7364ffdaaa60
line source
1 # SliTaz package receipt.
3 PACKAGE="ldm"
4 VERSION="0.8"
5 CATEGORY="system-tools"
6 SHORT_DESC="l(ightweight) d(evice) m(ounter)."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://github.com/LemonBoy/ldm"
10 REPOLOGY="ldm-mounter"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$WEB_SITE/tarball/v$VERSION"
15 DEPENDS="glib udev"
16 BUILD_DEPENDS="glib-dev udev-dev util-linux-blkid util-linux-mount-dev"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/tarb*}/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 export LDFLAGS="$LDFLAGS -ludev -lmount -lglib-2.0"
29 make &&
30 make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cook_copy_folders bin
37 }