wok-current annotate wyrd/receipt @ rev 23288

updated perl-apache-dbi (1.07 -> 1.12)
author Hans-G?nter Theisgen
date Sun Mar 29 15:03:00 2020 +0100 (2020-03-29)
parents 20661c276bcf
children 00d2e2c46fc5
rev   line source
paul@7828 1 # SliTaz package receipt.
paul@7828 2
paul@7828 3 PACKAGE="wyrd"
Hans-G?nter@21564 4 VERSION="1.4.6"
paul@7828 5 CATEGORY="utilities"
Hans-G?nter@21564 6 SHORT_DESC="A text-based front-end to Remind."
paul@7828 7 MAINTAINER="paul@slitaz.org"
pascal@15363 8 LICENSE="GPL2"
Hans-G?nter@21564 9 WEB_SITE="https://launchpad.net/wyrd"
Hans-G?nter@21564 10
paul@7828 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21564 12 WGET_URL="https://sourceforge.net/projects/slackbuildsdirectlinks/files/$PACKAGE/$TARBALL"
paul@7828 13
Hans-G?nter@21564 14 DEPENDS="ncursesw ocaml remind"
Hans-G?nter@21564 15 BUILD_DEPENDS="ncursesw-dev ocaml remind"
pascal@15363 16
paul@7828 17 # Rules to configure and make the package.
paul@7828 18 compile_rules()
paul@7828 19 {
pascal@17672 20 export LDFLAGS="$LDFLAGS -ltinfo"
Hans-G?nter@21564 21
Hans-G?nter@21564 22 # according to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=868599
Hans-G?nter@21564 23 sed -i 's/TERMINAL/TERMTYPE/' curses/configure
Hans-G?nter@21564 24
Hans-G?nter@21564 25 ./configure \
Hans-G?nter@21564 26 --prefix=/usr \
Hans-G?nter@21564 27 --sysconfdir=/etc \
Hans-G?nter@21564 28 --infodir=/usr/share/info \
Hans-G?nter@21564 29 --mandir=/usr/share/man \
Hans-G?nter@21564 30 --enable-utf8 \
paul@7828 31 $CONFIGURE_ARGS &&
Hans-G?nter@21564 32 make -j1 &&
Hans-G?nter@21564 33 make -j1 DESTDIR=$DESTDIR install
paul@7828 34 }
paul@7828 35
paul@7828 36 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@7828 37 genpkg_rules()
paul@7828 38 {
Hans-G?nter@21564 39 mkdir -p $fs/usr
Hans-G?nter@21564 40 mkdir -p $fs/etc
Hans-G?nter@21564 41
Hans-G?nter@21564 42 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21564 43 cp -a $install/etc/wyrdrc $fs/etc
paul@7828 44 }