wok-6.x rev 21564

updated wyrd (1.4.5 -> 1.4.6)
author Hans-G?nter Theisgen
date Fri May 17 11:30:13 2019 +0100 (2019-05-17)
parents 19ef62bc510b
children 4cc128a1bc43
files wyrd/receipt
line diff
     1.1 --- a/wyrd/receipt	Fri May 17 10:28:48 2019 +0100
     1.2 +++ b/wyrd/receipt	Fri May 17 11:30:13 2019 +0100
     1.3 @@ -1,35 +1,44 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="wyrd"
     1.7 -VERSION="1.4.5"
     1.8 +VERSION="1.4.6"
     1.9  CATEGORY="utilities"
    1.10 -SHORT_DESC="Wyrd is a text-based front-end to Remind."
    1.11 +SHORT_DESC="A text-based front-end to Remind."
    1.12  MAINTAINER="paul@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="https://launchpad.net/wyrd"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="https://launchpad.net/wyrd"
    1.18 -WGET_URL="http://pessimization.com/software/wyrd/$TARBALL"
    1.19 +WGET_URL="https://sourceforge.net/projects/slackbuildsdirectlinks/files/$PACKAGE/$TARBALL"
    1.20  
    1.21 -DEPENDS="ncurses remind ocaml"
    1.22 -BUILD_DEPENDS="ncurses-dev remind ocaml"
    1.23 +DEPENDS="ncursesw ocaml remind"
    1.24 +BUILD_DEPENDS="ncursesw-dev ocaml remind"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29  	export LDFLAGS="$LDFLAGS -ltinfo"
    1.30 -	./configure \
    1.31 -		--prefix=/usr \
    1.32 -		--sysconfdir=/etc \
    1.33 -		--infodir=/usr/share/info \
    1.34 -		--mandir=/usr/share/man \
    1.35 +
    1.36 +	# according to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=868599
    1.37 +	sed -i 's/TERMINAL/TERMTYPE/' curses/configure
    1.38 +
    1.39 +	./configure				\
    1.40 +		--prefix=/usr			\
    1.41 +		--sysconfdir=/etc		\
    1.42 +		--infodir=/usr/share/info	\
    1.43 +		--mandir=/usr/share/man		\
    1.44 +		--enable-utf8			\
    1.45  		$CONFIGURE_ARGS &&
    1.46 -	make -j1 && make -j1 DESTDIR=$DESTDIR install
    1.47 +	make -j1 &&
    1.48 +	make -j1 DESTDIR=$DESTDIR install
    1.49  }
    1.50  
    1.51  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.52  genpkg_rules()
    1.53  {
    1.54 -	mkdir -p $fs/usr $fs/etc
    1.55 -	cp -a $install/usr/bin $fs/usr
    1.56 -	cp -a $install/etc/wyrdrc $fs/etc
    1.57 +	mkdir -p $fs/usr
    1.58 +	mkdir -p $fs/etc
    1.59 +
    1.60 +	cp -a $install/usr/bin		$fs/usr
    1.61 +	cp -a $install/etc/wyrdrc	$fs/etc
    1.62  }