wok-next diff vnstat/receipt @ rev 18918
Add brotli
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 24 16:36:21 2016 +0100 (2016-02-24) |
parents | |
children | 8e7ad14f5f88 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/vnstat/receipt Wed Feb 24 16:36:21 2016 +0100 1.3 @@ -0,0 +1,32 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="vnstat" 1.7 +VERSION="1.15" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="Console-based network monitoring utility" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="GPL2" 1.12 +WEB_SITE="http://humdi.net/vnstat/" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 +WGET_URL="${WEB_SITE}$TARBALL" 1.15 + 1.16 +DEPENDS="" 1.17 +SUGGESTED="libgd" 1.18 +BUILD_DEPENDS="libgd-dev" 1.19 + 1.20 +# Rules to configure and make the package. 1.21 +compile_rules() 1.22 +{ 1.23 + ./configure \ 1.24 + --prefix=/usr \ 1.25 + --sysconfdir=/etc \ 1.26 + $CONFIGURE_ARGS && 1.27 + make && make install 1.28 + find $install/usr/share/man -type f -exec gzip \{\} \; 1.29 +} 1.30 + 1.31 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.32 +genpkg_rules() 1.33 +{ 1.34 + cp -a $install/* $fs 1.35 +}