wok diff goaccess/receipt @ rev 18863

get-texlive: fix creating package texlive
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jan 28 22:27:33 2016 +0200 (2016-01-28)
parents
children a05e21d8a8d2
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/goaccess/receipt	Thu Jan 28 22:27:33 2016 +0200
     1.3 @@ -0,0 +1,35 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="goaccess"
     1.7 +VERSION="0.6.1"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Visual web log analyzer."
    1.10 +MAINTAINER="paul@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +DEPENDS="ncurses geoip"
    1.13 +BUILD_DEPENDS="ncurses-dev geoip-dev glib-dev pkg-config"
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 +WEB_SITE="http://goaccess.prosoftcorp.com/"
    1.16 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd $src
    1.22 +	./configure --prefix=/usr --enable-geoip --enable-utf8 
    1.23 +	# hack for curses.h path
    1.24 +	mkdir /usr/include/ncursesw && ln -s /usr/include/curses.h /usr/include/ncursesw/curses.h
    1.25 +	make
    1.26 +	make DESTDIR=$DESTDIR install
    1.27 +	# and remove hack
    1.28 +	rm -rf /usr/include/ncursesw
    1.29 +
    1.30 +}
    1.31 +
    1.32 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.33 +genpkg_rules()
    1.34 +{
    1.35 +	mkdir -p $fs/usr
    1.36 +	cp -a $install/usr/bin $fs/usr
    1.37 +}
    1.38 +