wok-6.x view e2tools/receipt @ rev 24715
updated lfs-book (8.4 -> 11.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 15 06:57:03 2022 +0100 (2022-03-15) |
parents | 5ea0ce1cecc0 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="e2tools"
4 VERSION="0.0.16.4"
5 CATEGORY="base-system"
6 SHORT_DESC="Read, write, and manipulate files in an ext2 or ext3 filesystem."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/ndim/$PACKAGE"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
14 DEPENDS="e2fsprogs"
15 BUILD_DEPENDS="autoconf automake e2fsprogs-dev"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
27 autoreconf -vis . &&
28 ./configure \
29 --prefix=/usr \
30 $CONFIGURE_ARGS &&
31 make -j 1 &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cp -a $install/* $fs
39 }