2011-11-23 07:48:31 +00:00
|
|
|
# Template file for 'i3status'
|
|
|
|
pkgname=i3status
|
2013-04-01 14:11:39 +00:00
|
|
|
version=2.7
|
2013-05-06 12:36:08 +00:00
|
|
|
revision=2
|
2012-06-05 12:53:49 +00:00
|
|
|
build_style=gnu-makefile
|
2013-05-06 12:36:08 +00:00
|
|
|
hostmakedepends="asciidoc pkg-config"
|
|
|
|
makedepends="yajl-devel confuse-devel wireless_tools-devel alsa-lib-devel libcap-devel"
|
2014-01-01 15:10:11 +00:00
|
|
|
depends="libcap-progs"
|
|
|
|
conf_files="/etc/i3status.conf"
|
2013-04-01 14:11:39 +00:00
|
|
|
short_desc="Generates status bar to use with dzen2 or xmobar"
|
2011-11-23 07:48:31 +00:00
|
|
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
|
|
|
license="BSD"
|
2013-04-01 14:11:39 +00:00
|
|
|
homepage="http://i3.zekjur.net/i3status/"
|
2012-06-05 12:53:49 +00:00
|
|
|
distfiles="${homepage}/${pkgname}-${version}.tar.bz2"
|
2013-04-01 14:11:39 +00:00
|
|
|
checksum=073f4e5de3bc5afc1f23c52ea52e2aa4b90ca8a012f28ba2c5fac3c33474a632
|
2011-11-23 07:48:31 +00:00
|
|
|
|
2013-05-06 12:36:08 +00:00
|
|
|
do_build() {
|
|
|
|
export CFLAGS="$CFLAGS -std=c99"
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
export PKG_CONFIG_PATH="$XBPS_CROSS_BASE/usr/lib/pkgconfig"
|
|
|
|
export PKG_CONFIG_SYSROOT_DIR="$XBPS_CROSS_BASE"
|
|
|
|
fi
|
|
|
|
make ${makejobs}
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
make DESTDIR=${DESTDIR} install
|
|
|
|
|
2012-12-16 08:18:56 +00:00
|
|
|
# detect dhcpcd.
|
|
|
|
sed -i -e "s#dhclient#dhcpcd#g" ${DESTDIR}/etc/i3status.conf
|
2011-11-23 07:48:31 +00:00
|
|
|
vinstall LICENSE 644 usr/share/licenses/${pkgname}
|
|
|
|
}
|