wok-current view wyrd/receipt @ rev 24538
updated fbcat (0.5.1 -> 0.5.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 23 15:14:49 2022 +0100 (2022-02-23) |
parents | 3c81dd700a3f |
children |
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"
16 #BUILD_DEPENDS="ncursesw-dev ocaml camlp4 remind"
18 current_version()
19 {
20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
21 sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 export LDFLAGS="$LDFLAGS -ltinfo"
29 # according to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=868599
30 sed -i 's/TERMINAL/TERMTYPE/' curses/configure
32 ./configure \
33 --prefix=/usr \
34 --sysconfdir=/etc \
35 --infodir=/usr/share/info \
36 --mandir=/usr/share/man \
37 --enable-utf8 \
38 $CONFIGURE_ARGS &&
39 make -j1 &&
40 make -j1 DESTDIR=$DESTDIR install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr
47 mkdir -p $fs/etc
49 cp -a $install/usr/bin $fs/usr
50 cp -a $install/etc/wyrdrc $fs/etc
51 }