void-packages/srcpkgs/exo/template

41 lines
1.2 KiB
Text
Raw Normal View History

# Template file for 'exo'
pkgname=exo
2012-12-27 13:28:42 +00:00
version=0.10.2
2014-09-23 11:46:25 +00:00
revision=4
build_style=gnu-configure
configure_args="--disable-static"
2014-09-23 11:46:25 +00:00
hostmakedepends="xfce4-dev-tools gettext-devel glib-devel perl-URI"
2014-02-14 14:19:12 +00:00
makedepends="gtk+-devel libxfce4util-devel libxfce4ui-devel perl-URI"
depends="hicolor-icon-theme desktop-file-utils perl-URI"
conf_files="/etc/xdg/xfce4/helpers.rc"
short_desc="Application library for the Xfce desktop environment"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2, LGPL-2.1"
homepage="http://xfce.org"
2014-05-24 08:02:19 +00:00
distfiles="http://archive.xfce.org/src/xfce/exo/${version%.*}/exo-${version}.tar.bz2"
2012-12-27 13:28:42 +00:00
checksum=b385828bf8a38204da3254b57fdfa25a72694495aa189fabd5040f707eec76ce
2014-09-23 11:46:25 +00:00
pre_configure() {
if [ "$CROSS_BUILD" ]; then
export ac_cv_strftime_extensions=yes
# Disable tests:
sed -i 's/^\([[:blank:]]*po\).*$/\1/;/^[[:blank:]]*tests$/d' Makefile.am
fi
NOCONFIGURE=1 xdt-autogen
}
exo-devel_package() {
depends="gtk+-devel libxfce4util-devel exo-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2014-02-14 14:19:12 +00:00
vmove "usr/lib/*.so"
vmove usr/bin/exo-csource
vmove usr/share/man/man1/exo-csource.1
vmove "usr/share/*doc"
}
}