wok-next annotate dialog/receipt @ rev 20140

fox14: receipt v2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 01 09:16:07 2017 +0100 (2017-11-01)
parents 18c4d15a72df
children 0e7893ac206d
rev   line source
al@19835 1 # SliTaz package receipt v2.
pankso@35 2
pankso@35 3 PACKAGE="dialog"
al@19835 4 VERSION="1.3-20170509"
pankso@211 5 CATEGORY="base-system"
al@19835 6 SHORT_DESC="Script-interpreter which provides a set of curses widgets"
pankso@35 7 MAINTAINER="pankso@slitaz.org"
pascal@14996 8 LICENSE="LGPL2.1"
slaxemulator@11097 9 WEB_SITE="http://invisible-island.net/dialog/"
pankso@12840 10 HOST_ARCH="i486 arm"
pankso@12840 11
al@19591 12 TARBALL="$PACKAGE-$VERSION.tgz"
al@19835 13 WGET_URL="ftp://ftp.invisible-island.net/dialog/$TARBALL"
al@19591 14
al@19601 15 BUILD_DEPENDS="ncurses-dev gettext"
al@19835 16 SPLIT="dialog-dev"
pankso@35 17
pankso@35 18 # Rules to configure and make the package.
pankso@35 19 compile_rules()
pankso@35 20 {
pankso@4895 21 ./configure \
pankso@4895 22 --prefix=/usr \
pankso@4895 23 --sysconfdir=/etc \
pankso@4895 24 --with-ncursesw \
al@16546 25 --enable-nls \
pankso@4895 26 --enable-widec \
pankso@4895 27 $CONFIGURE_ARGS &&
pankso@12840 28 make && make DESTDIR=$DESTDIR install
al@19835 29
al@19835 30 # Config file.
al@19835 31 mkdir -p $install/etc
al@19835 32 cp $stuff/dialogrc $install/etc
pankso@35 33 }
pankso@35 34
pankso@35 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@35 36 genpkg_rules()
pankso@35 37 {
al@19835 38 case $PACKAGE in
al@19835 39 dialog)
al@19835 40 copy @std
al@19835 41 DEPENDS="ncurses"
al@19835 42 ;;
al@19835 43 *-dev)
al@19835 44 copy @dev
al@19835 45 ;;
al@19835 46 esac
pankso@35 47 }