wok annotate ed/receipt @ rev 18732
Quote root dir in post_install (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 21 00:07:14 2015 +0100 (2015-12-21) |
parents | 84dacddcafd8 |
children | d21a5ddba767 |
rev | line source |
---|---|
pascal@16335 | 1 # SliTaz package receipt. |
pascal@16335 | 2 |
pascal@16335 | 3 PACKAGE="ed" |
pascal@16335 | 4 VERSION="1.9" |
pascal@16335 | 5 CATEGORY="development" |
pascal@16335 | 6 SHORT_DESC="A line-oriented text editor." |
pascal@16335 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@16335 | 8 LICENSE="GPL3" |
pascal@16335 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@16335 | 10 WEB_SITE="http://www.gnu.org/software/ed/" |
pascal@16335 | 11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@16478 | 12 HOST_ARCH="i486 arm" |
pascal@16335 | 13 |
pascal@16335 | 14 DEPENDS="" |
pascal@16335 | 15 BUILD_DEPENDS="" |
pascal@16335 | 16 |
pascal@16335 | 17 # Rules to configure and make the package. |
pascal@16335 | 18 compile_rules() |
pascal@16335 | 19 { |
pankso@16478 | 20 ./configure --prefix=/usr && |
pankso@16478 | 21 make CC=${HOST_SYSTEM}-gcc && make install |
pascal@16335 | 22 } |
pascal@16335 | 23 |
pascal@16335 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@16335 | 25 genpkg_rules() |
pascal@16335 | 26 { |
pascal@16335 | 27 mkdir $fs/usr |
pascal@16335 | 28 cp -a $install/usr/bin $fs/usr |
pascal@16335 | 29 } |