wok-4.x annotate rlwrap/receipt @ rev 11626
Up: glib to 2.30.2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Jan 29 16:38:33 2012 -0500 (2012-01-29) |
parents | |
children |
rev | line source |
---|---|
pascal@11214 | 1 # SliTaz package receipt. |
pascal@11214 | 2 |
pascal@11214 | 3 PACKAGE="rlwrap" |
pascal@11214 | 4 VERSION="0.37" |
pascal@11214 | 5 CATEGORY="misc" |
pascal@11214 | 6 SHORT_DESC="Input history wrapper using GNU readline." |
pascal@11214 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@11214 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@11214 | 9 WEB_SITE="http://utopia.knoware.nl/~hlub/uck/rlwrap/" |
pascal@11214 | 10 WGET_URL="${WEB_SITE}$TARBALL" |
pascal@11214 | 11 |
pascal@11214 | 12 BUILD_DEPENDS="readline-dev ncurses-dev" |
pascal@11214 | 13 |
pascal@11214 | 14 # Rules to configure and make the package. |
pascal@11214 | 15 compile_rules() |
pascal@11214 | 16 { |
pascal@11214 | 17 cd $src |
pascal@11214 | 18 ./configure --prefix=/usr \ |
pascal@11214 | 19 --localstatedir=/var \ |
pascal@11214 | 20 $CONFIGURE_ARGS && |
pascal@11214 | 21 make && make DESTDIR=$DESTDIR install |
pascal@11214 | 22 } |
pascal@11214 | 23 |
pascal@11214 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11214 | 25 genpkg_rules() |
pascal@11214 | 26 { |
pascal@11214 | 27 mkdir -p $fs/usr/share |
pascal@11214 | 28 cp -a $_pkg/usr/share/rlwrap $fs/usr/share |
pascal@11214 | 29 cp -a $_pkg/usr/bin $fs/usr |
pascal@11214 | 30 } |