wok annotate ldapfuse/receipt @ rev 25037

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