wok-next annotate libedit/receipt @ rev 20533

cairo-clock, grub4dos: fix CFLAGS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 27 12:50:45 2018 +0200 (2018-03-27)
parents 76524bb0e096
children 0ec6086e21d6
rev   line source
al@20456 1 # SliTaz package receipt v2.
domcox@1356 2
domcox@1356 3 PACKAGE="libedit"
domcox@5317 4 VERSION="3.0"
pascal@1423 5 CATEGORY="misc"
domcox@1356 6 SHORT_DESC="Berkeley-style licensed command line editor library"
pascal@13025 7 MAINTAINER="domcox@slitaz.org"
pascal@15472 8 LICENSE="BSD"
domcox@1356 9 WEB_SITE="http://www.thrysoee.dk/editline/"
al@20456 10
al@20456 11 TARBALL="libedit-20100424-$VERSION.tar.gz"
domcox@1356 12 WGET_URL="http://www.thrysoee.dk/editline/$TARBALL"
domcox@1356 13
pascal@15613 14 BUILD_DEPENDS="gettext"
al@20456 15 SPLIT="libedit-dev"
pascal@15613 16
al@20456 17 compile_rules() {
domcox@1356 18 ./configure \
domcox@1356 19 --prefix=/usr \
domcox@1356 20 --mandir=/usr/share/man \
domcox@6098 21 --enable-widec \
domcox@1356 22 $CONFIGURE_ARGS \
domcox@1356 23 && make
pascal@15472 24 make DESTDIR=$DESTDIR install
domcox@1356 25 }
domcox@1356 26
al@20456 27 genpkg_rules() {
al@20456 28 case $PACKAGE in
al@20456 29 libedit)
al@20456 30 copy @std
al@20456 31 TAGS="cli editor library"
al@20456 32 ;;
al@20456 33 *-dev)
al@20456 34 copy @dev
al@20456 35 ;;
al@20456 36 esac
domcox@1356 37 }