wok annotate ldapfuse/receipt @ rev 24770
amule: modified MuleDebug.cpp for libbfd-2.37
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 19 15:22:11 2022 +0100 (2022-03-19) |
parents | 86790a278e70 |
children | 72f2704d3ae0 |
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@18457 | 13 DEPENDS="libldap fuse libhx" |
pascal@18457 | 14 BUILD_DEPENDS="openldap-dev fuse-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 } |