conky-cli: enable lua scripting and cross build support.

This commit is contained in:
Juan RP 2014-02-27 09:13:04 +01:00
parent 82de663d4c
commit 7baa3095a2
1 changed files with 9 additions and 5 deletions

View File

@ -1,16 +1,16 @@
# Template file for 'conky-cli'
pkgname=conky-cli
version=1.9.0
revision=2
revision=3
wrksrc="${pkgname/-cli/}-${version}"
build_style=gnu-configure
configure_args="--disable-lua --disable-x11 --disable-xft --disable-imlib2
configure_args="--enable-lua --disable-x11 --disable-xft --disable-imlib2
--disable-own-window --disable-xdamage --disable-double-buffer --enable-curl
--enable-wlan --enable-rss --enable-ibm"
hostmakedepends="pkg-config"
makedepends="ncurses-devel wireless_tools-devel libglib-devel libcurl-devel libxml2-devel"
hostmakedepends="libtool pkg-config"
makedepends="lua-devel ncurses-devel wireless_tools-devel libglib-devel libcurl-devel libxml2-devel"
conf_files="/etc/conky/conky.conf /etc/conky/conky_no_x11.conf"
provides="conky-${version}"
provides="conky-${version}_${revision}"
conflicts="conky>=0"
short_desc="Conky command line without X11"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
@ -19,6 +19,10 @@ homepage="http://conky.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/${pkgname/-cli/}/${pkgname/-cli/}-${version}.tar.gz"
checksum=1de754d77b2671f68795fdb9fc506328a1668dd6ca00984c3f49790a66d368ca
pre_configure() {
libtoolize -f
}
post_install() {
vinstall COPYING 644 usr/share/licenses/$_pkgname
}