wok-next view libedit/receipt @ rev 20456

Combine receipts
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 02 03:33:54 2018 +0200 (2018-03-02)
parents 76524bb0e096
children 0ec6086e21d6
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libedit"
4 VERSION="3.0"
5 CATEGORY="misc"
6 SHORT_DESC="Berkeley-style licensed command line editor library"
7 MAINTAINER="domcox@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://www.thrysoee.dk/editline/"
11 TARBALL="libedit-20100424-$VERSION.tar.gz"
12 WGET_URL="http://www.thrysoee.dk/editline/$TARBALL"
14 BUILD_DEPENDS="gettext"
15 SPLIT="libedit-dev"
17 compile_rules() {
18 ./configure \
19 --prefix=/usr \
20 --mandir=/usr/share/man \
21 --enable-widec \
22 $CONFIGURE_ARGS \
23 && make
24 make DESTDIR=$DESTDIR install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 libedit)
30 copy @std
31 TAGS="cli editor library"
32 ;;
33 *-dev)
34 copy @dev
35 ;;
36 esac
37 }