wok view ldapfuse/receipt @ rev 25524

created recipes for tree-sitter and tree-sitter-dev 0.20.7
author Hans-G?nter Theisgen
date Fri Feb 24 17:21:52 2023 +0100 (21 months ago)
parents ad0bc3efbf37
children d3556b8f5c3d
line source
1 # SliTaz package receipt.
3 PACKAGE="ldapfuse"
4 VERSION="1.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Provides a filesystem virtual view into an LDAP tree."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="https://sourceforge.net/projects/ldapfuse/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"
13 DEPENDS="libldap fuse2 libhx"
14 BUILD_DEPENDS="openldap-dev fuse2-dev libhx-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/ldapfuse/files/ 2>/dev/null | \
20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
21 sed '/scope="row/!d;s|.*/files/||;s|/.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure --prefix=/usr --infodir=/usr/share/info \
28 --mandir=/usr/share/man \
29 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
38 cp -a $install/usr/bin $fs/usr
39 }