wok annotate ncdc/receipt @ rev 21874
facter: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 28 11:31:06 2019 +0200 (2019-09-28) |
parents | 24777abfc406 |
children | 8a0790e3dfda |
rev | line source |
---|---|
paul@17346 | 1 # SliTaz package receipt. |
paul@17346 | 2 |
paul@17346 | 3 PACKAGE="ncdc" |
paul@19965 | 4 VERSION="1.20" |
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" |
paul@17346 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20671 | 10 WEB_SITE="https://dev.yorhel.nl/ncdc" |
pascal@20671 | 11 WGET_URL="https://dev.yorhel.nl/download/$TARBALL" |
paul@17346 | 12 |
paul@17346 | 13 DEPENDS="ncurses zlib bzip2 sqlite gnutls pcre" |
paul@17346 | 14 BUILD_DEPENDS="ncurses-dev zlib-dev bzip2-dev sqlite-dev gnutls-dev |
pascal@20574 | 15 glib-dev pcre-dev libgnutls" |
pascal@20574 | 16 |
paul@17346 | 17 # Rules to configure and make the package. |
paul@17346 | 18 compile_rules() |
paul@17346 | 19 { |
paul@17346 | 20 ./configure --prefix=/usr |
paul@17346 | 21 make |
paul@17346 | 22 make install |
paul@17346 | 23 } |
paul@17346 | 24 |
paul@17346 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@17346 | 26 genpkg_rules() |
paul@17346 | 27 { |
paul@17346 | 28 mkdir -p $fs/usr |
paul@17346 | 29 cp -a $install/usr/bin $fs/usr |
paul@17346 | 30 } |