wok annotate rlwrap/receipt @ rev 16896
Qt Plugins: fix BUILD_DEPENDS
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Mon Jul 14 15:49:14 2014 +0300 (2014-07-14) |
parents | 2f79d601d5bc |
children | c7c3567bd8d4 |
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@15593 | 8 LICENSE="GPL2" |
pascal@11214 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@11214 | 10 WEB_SITE="http://utopia.knoware.nl/~hlub/uck/rlwrap/" |
pascal@11214 | 11 WGET_URL="${WEB_SITE}$TARBALL" |
pascal@11214 | 12 |
pascal@11214 | 13 BUILD_DEPENDS="readline-dev ncurses-dev" |
pascal@11214 | 14 |
pascal@11214 | 15 # Rules to configure and make the package. |
pascal@11214 | 16 compile_rules() |
pascal@11214 | 17 { |
pascal@11214 | 18 cd $src |
pascal@11214 | 19 ./configure --prefix=/usr \ |
pascal@11214 | 20 --localstatedir=/var \ |
pascal@11214 | 21 $CONFIGURE_ARGS && |
pascal@11214 | 22 make && make DESTDIR=$DESTDIR install |
pascal@11214 | 23 } |
pascal@11214 | 24 |
pascal@11214 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11214 | 26 genpkg_rules() |
pascal@11214 | 27 { |
pascal@11214 | 28 mkdir -p $fs/usr/share |
pascal@15593 | 29 cp -a $install/usr/share/rlwrap $fs/usr/share |
pascal@15593 | 30 cp -a $install/usr/bin $fs/usr |
pascal@11214 | 31 } |