wok annotate tig/receipt @ rev 22436
john: new link
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sun Dec 22 15:57:47 2019 +0000 (2019-12-22) |
parents | 16c8ad9c7278 |
children | 6bab837a85ec |
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" |
Hans-G?nter@22030 | 15 BUILD_DEPENDS="autoconf 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 } |