wok-6.x view wyrd/receipt @ rev 23591

python-pysol-cards: added build dependency
author Hans-G?nter Theisgen
date Wed Apr 08 10:35:39 2020 +0100 (2020-04-08)
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 }