wok-current view ddumbfs/receipt @ rev 24605
Add zmap
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 02 15:59:03 2022 +0000 (2022-03-02) |
parents | 5328425bd597 |
children | b1356f30c0b8 |
line source
1 # SliTaz package receipt.
3 PACKAGE="ddumbfs"
4 VERSION="1.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="fast inline deduplication filesystem"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.magiksys.net/ddumbfs/"
11 WGET_URL="http://www.magiksys.net/download/$PACKAGE/$TARBALL"
13 DEPENDS="fuse mhash"
14 BUILD_DEPENDS="fuse-dev mhash-dev pkg-config"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure --prefix=/usr $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $install/usr/bin $fs/usr
36 }