wok view e2tools/receipt @ rev 18730

Quote root dir in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 20 15:13:45 2015 +0100 (2015-12-20)
parents 3b5c0ea204f2
children 28518eba2c9c
line source
1 # SliTaz package receipt.
3 PACKAGE="e2tools"
4 VERSION="0.0.16"
5 CATEGORY="base-system"
6 SHORT_DESC="Read, write, and manipulate files in an ext2/ext3 filesystem."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/ndim/$PACKAGE"
11 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
13 DEPENDS="e2fsprogs"
14 BUILD_DEPENDS="e2fsprogs-dev wget"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
20 ./configure \
21 --prefix=/usr \
22 $CONFIGURE_ARGS
23 make && make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 cp -a $install/* $fs
30 }