wok annotate rlwrap/receipt @ rev 21583
Up ffserver (4.1.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 19 20:44:36 2019 +0200 (2019-05-19) |
parents | c7c3567bd8d4 |
children | 64d9f0db2734 |
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@20672 | 10 WEB_SITE="https://github.com/hanslub42/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@17673 | 18 export LDFLAGS="$LDFLAGS -ltinfo" |
pascal@11214 | 19 ./configure --prefix=/usr \ |
pascal@11214 | 20 --localstatedir=/var \ |
pascal@17673 | 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 } |