wok annotate wyrd/receipt @ rev 25194
updated python-html2text (2017.10.4 -> 2019.8.11)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 10:52:13 2022 +0100 (2022-07-13) |
parents | 3c81dd700a3f |
children |
rev | line source |
---|---|
paul@7828 | 1 # SliTaz package receipt. |
paul@7828 | 2 |
paul@7828 | 3 PACKAGE="wyrd" |
Hans-G?nter@21564 | 4 VERSION="1.4.6" |
paul@7828 | 5 CATEGORY="utilities" |
Hans-G?nter@21564 | 6 SHORT_DESC="A text-based front-end to Remind." |
paul@7828 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15363 | 8 LICENSE="GPL2" |
Hans-G?nter@21564 | 9 WEB_SITE="https://launchpad.net/wyrd" |
Hans-G?nter@21564 | 10 |
paul@7828 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21564 | 12 WGET_URL="https://sourceforge.net/projects/slackbuildsdirectlinks/files/$PACKAGE/$TARBALL" |
paul@7828 | 13 |
Hans-G?nter@21564 | 14 DEPENDS="ncursesw ocaml remind" |
Hans-G?nter@21564 | 15 BUILD_DEPENDS="ncursesw-dev ocaml remind" |
pascal@24077 | 16 #BUILD_DEPENDS="ncursesw-dev ocaml camlp4 remind" |
pascal@24077 | 17 |
pascal@24077 | 18 current_version() |
pascal@24077 | 19 { |
pascal@24077 | 20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24077 | 21 sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" |
pascal@24077 | 22 } |
pascal@15363 | 23 |
paul@7828 | 24 # Rules to configure and make the package. |
paul@7828 | 25 compile_rules() |
paul@7828 | 26 { |
pascal@17672 | 27 export LDFLAGS="$LDFLAGS -ltinfo" |
Hans-G?nter@21564 | 28 |
Hans-G?nter@21564 | 29 # according to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=868599 |
Hans-G?nter@21564 | 30 sed -i 's/TERMINAL/TERMTYPE/' curses/configure |
Hans-G?nter@21564 | 31 |
Hans-G?nter@21564 | 32 ./configure \ |
Hans-G?nter@21564 | 33 --prefix=/usr \ |
Hans-G?nter@21564 | 34 --sysconfdir=/etc \ |
Hans-G?nter@21564 | 35 --infodir=/usr/share/info \ |
Hans-G?nter@21564 | 36 --mandir=/usr/share/man \ |
Hans-G?nter@21564 | 37 --enable-utf8 \ |
paul@7828 | 38 $CONFIGURE_ARGS && |
Hans-G?nter@21564 | 39 make -j1 && |
Hans-G?nter@21564 | 40 make -j1 DESTDIR=$DESTDIR install |
paul@7828 | 41 } |
paul@7828 | 42 |
paul@7828 | 43 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@7828 | 44 genpkg_rules() |
paul@7828 | 45 { |
Hans-G?nter@21564 | 46 mkdir -p $fs/usr |
Hans-G?nter@21564 | 47 mkdir -p $fs/etc |
Hans-G?nter@21564 | 48 |
Hans-G?nter@21564 | 49 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21564 | 50 cp -a $install/etc/wyrdrc $fs/etc |
paul@7828 | 51 } |