wok annotate tig/receipt @ rev 23507
joe, tig, udftools: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 06 11:10:51 2020 +0200 (2020-04-06) |
parents | 910d5151e168 |
children | 4430100694d2 |
rev | line source |
---|---|
paul@16698 | 1 # SliTaz package receipt. |
paul@16698 | 2 |
paul@16698 | 3 PACKAGE="tig" |
Hans-G?nter@22030 | 4 VERSION="2.4.1" |
paul@16698 | 5 CATEGORY="network" |
Hans-G?nter@22030 | 6 SHORT_DESC="Text-mode interface for git." |
paul@16698 | 7 MAINTAINER="paul@slitaz.org" |
paul@16698 | 8 LICENSE="GPL2" |
Hans-G?nter@22030 | 9 WEB_SITE="https://jonas.github.io/tig/" |
Hans-G?nter@22030 | 10 |
paul@16698 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22030 | 12 WGET_URL="https://github.com/jonas/$PACKAGE/archive/$TARBALL" |
paul@16698 | 13 |
paul@16698 | 14 DEPENDS="ncurses" |
pascal@23507 | 15 BUILD_DEPENDS="libtool ncurses-dev" |
paul@16698 | 16 |
paul@16698 | 17 # Rules to configure and make the package. |
paul@16698 | 18 compile_rules() |
paul@16698 | 19 { |
Hans-G?nter@22030 | 20 ./autogen.sh && |
Hans-G?nter@22030 | 21 ./configure \ |
Hans-G?nter@22030 | 22 --prefix=/usr \ |
Hans-G?nter@22030 | 23 --sysconfdir=/etc && |
Hans-G?nter@22030 | 24 make && |
Hans-G?nter@22030 | 25 make DESTDIR=$DESTDIR install |
paul@16698 | 26 } |
paul@16698 | 27 |
paul@16698 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@16698 | 29 genpkg_rules() |
paul@16698 | 30 { |
Hans-G?nter@22030 | 31 mkdir -p $fs/usr |
Hans-G?nter@22030 | 32 mkdir -p $fs/etc |
Hans-G?nter@22030 | 33 |
Hans-G?nter@22030 | 34 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22030 | 35 cp -a $install/etc/tigrc $fs/etc |
paul@16698 | 36 } |