wok-next annotate genext2fs/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 | |
children | d5aab818505e |
rev | line source |
---|---|
pascal@17311 | 1 # SliTaz package receipt. |
pascal@17311 | 2 |
pascal@17311 | 3 PACKAGE="genext2fs" |
pascal@17311 | 4 VERSION="1.4.1" |
pascal@17311 | 5 CATEGORY="base-system" |
pascal@17311 | 6 SHORT_DESC="Generates an ext2 filesystem as a normal (i.e. non-root) user." |
pascal@17311 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17311 | 8 LICENSE="GPL2" |
pascal@17311 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@17311 | 10 WEB_SITE="http://genext2fs.sourceforge.net/" |
pascal@17311 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL" |
pascal@17311 | 12 |
pascal@17311 | 13 # Rules to configure and make the package. |
pascal@17311 | 14 compile_rules() |
pascal@17311 | 15 { |
pascal@17311 | 16 ./configure --prefix=/usr \ |
pascal@17311 | 17 $CONFIGURE_ARGS && |
pascal@17311 | 18 make && |
pascal@17311 | 19 make DESTDIR=$DESTDIR install |
pascal@17311 | 20 } |
pascal@17311 | 21 |
pascal@17311 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17311 | 23 genpkg_rules() |
pascal@17311 | 24 { |
pascal@17311 | 25 mkdir -p $fs/usr |
pascal@17311 | 26 cp -a $install/usr/bin $fs/usr |
pascal@17311 | 27 } |
pascal@17311 | 28 |