wok view wyrd/receipt @ rev 23607

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