wok annotate wyrd/receipt @ rev 20186

Up tcc (0.9.27) again
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 01 15:13:15 2018 +0100 (2018-02-01)
parents 2a21689b0af7
children 20661c276bcf
rev   line source
paul@7828 1 # SliTaz package receipt.
paul@7828 2
paul@7828 3 PACKAGE="wyrd"
paul@7828 4 VERSION="1.4.5"
paul@7828 5 CATEGORY="utilities"
paul@7828 6 SHORT_DESC="Wyrd is a text-based front-end to Remind."
paul@7828 7 MAINTAINER="paul@slitaz.org"
pascal@15363 8 LICENSE="GPL2"
paul@7828 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
paul@7828 10 WEB_SITE="http://pessimization.com/software/wyrd/"
paul@7828 11 WGET_URL="http://pessimization.com/software/wyrd/$TARBALL"
paul@7828 12
pascal@15363 13 DEPENDS="ncurses remind ocaml"
pascal@15363 14 BUILD_DEPENDS="ncurses-dev remind ocaml"
pascal@15363 15
paul@7828 16 # Rules to configure and make the package.
paul@7828 17 compile_rules()
paul@7828 18 {
pascal@17672 19 export LDFLAGS="$LDFLAGS -ltinfo"
paul@7828 20 ./configure \
paul@7828 21 --prefix=/usr \
paul@7828 22 --sysconfdir=/etc \
paul@7828 23 --infodir=/usr/share/info \
paul@7828 24 --mandir=/usr/share/man \
paul@7828 25 $CONFIGURE_ARGS &&
pascal@15363 26 make -j1 && make -j1 DESTDIR=$DESTDIR install
paul@7828 27 }
paul@7828 28
paul@7828 29 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@7828 30 genpkg_rules()
paul@7828 31 {
paul@7828 32 mkdir -p $fs/usr $fs/etc
pascal@15363 33 cp -a $install/usr/bin $fs/usr
pascal@15363 34 cp -a $install/etc/wyrdrc $fs/etc
paul@7828 35 }