wok annotate ncdc/receipt @ rev 25396
updated vidalia (0.2.21 -> 0.3.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Aug 02 10:16:02 2022 +0100 (2022-08-02) |
parents | 8a0790e3dfda |
children |
rev | line source |
---|---|
paul@17346 | 1 # SliTaz package receipt. |
paul@17346 | 2 |
paul@17346 | 3 PACKAGE="ncdc" |
Hans-G?nter@23228 | 4 VERSION="1.22.1" |
paul@17346 | 5 CATEGORY="network" |
paul@17346 | 6 SHORT_DESC="NCurses Direct Connect." |
paul@17346 | 7 MAINTAINER="paul@slitaz.org" |
pascal@18334 | 8 LICENSE="MIT" |
Hans-G?nter@23228 | 9 WEB_SITE="https://dev.yorhel.nl/ncdc" |
Hans-G?nter@23228 | 10 |
paul@17346 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20671 | 12 WGET_URL="https://dev.yorhel.nl/download/$TARBALL" |
paul@17346 | 13 |
Hans-G?nter@23228 | 14 DEPENDS="bzip2 gnutls ncursesw pcre sqlite zlib" |
Hans-G?nter@23228 | 15 BUILD_DEPENDS="bzip2-dev glib-dev gnutls-dev libgnutls ncursesw ncursesw-dev |
Hans-G?nter@23228 | 16 pcre-dev sqlite-dev zlib-dev" |
pascal@20574 | 17 |
pascal@24453 | 18 # What is the latest version available today? |
pascal@24453 | 19 current_version() |
pascal@24453 | 20 { |
pascal@24453 | 21 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ |
pascal@24453 | 22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24453 | 23 } |
pascal@24453 | 24 |
paul@17346 | 25 # Rules to configure and make the package. |
paul@17346 | 26 compile_rules() |
paul@17346 | 27 { |
Hans-G?nter@23228 | 28 export LDFLAGS="$LDFLAGS -ltinfo" |
Hans-G?nter@23228 | 29 |
Hans-G?nter@23228 | 30 ./configure \ |
Hans-G?nter@23228 | 31 --prefix=/usr \ |
Hans-G?nter@23228 | 32 NCURSES_CFLAGS=" " \ |
Hans-G?nter@23228 | 33 NCURSES_LIBS=/lib/libncursesw.so && |
Hans-G?nter@23228 | 34 make && |
paul@17346 | 35 make install |
paul@17346 | 36 } |
paul@17346 | 37 |
paul@17346 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@17346 | 39 genpkg_rules() |
paul@17346 | 40 { |
paul@17346 | 41 mkdir -p $fs/usr |
Hans-G?nter@23228 | 42 cp -a $install/usr/bin $fs/usr |
paul@17346 | 43 } |