wok-next annotate rlwrap/receipt @ rev 21078
Update png and Xorg in dependencies.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Dec 22 04:52:35 2018 +0200 (2018-12-22) |
parents | 7506b35e1c6f |
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" |
al@21020 | 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" |
al@20909 | 10 WEB_SITE="https://github.com/hanslub42/rlwrap" |
al@20909 | 11 WGET_URL="${WEB_SITE}$TARBALL" # FIXME |
pascal@11214 | 12 |
pascal@11214 | 13 BUILD_DEPENDS="readline-dev ncurses-dev" |
pascal@11214 | 14 |
al@21020 | 15 compile_rules() { |
al@21020 | 16 ./configure \ |
al@21020 | 17 --prefix=/usr \ |
pascal@11214 | 18 --localstatedir=/var \ |
pascal@17673 | 19 $CONFIGURE_ARGS && |
al@21020 | 20 make && |
al@21020 | 21 make DESTDIR=$install install |
pascal@11214 | 22 } |
pascal@11214 | 23 |
al@21020 | 24 genpkg_rules() { |
pascal@11214 | 25 mkdir -p $fs/usr/share |
pascal@15593 | 26 cp -a $install/usr/share/rlwrap $fs/usr/share |
pascal@15593 | 27 cp -a $install/usr/bin $fs/usr |
pascal@11214 | 28 } |