void-packages/srcpkgs/exo/template

41 lines
1.2 KiB
Plaintext
Raw Normal View History

# Template file for 'exo'
pkgname=exo
2015-03-01 09:21:25 +01:00
version=0.10.3
revision=1
build_style=gnu-configure
configure_args="--disable-static"
2015-03-01 10:23:01 +01:00
hostmakedepends="xfce4-dev-tools pkg-config intltool gettext-devel glib-devel perl-URI"
2015-03-01 09:21:25 +01:00
makedepends="gtk+-devel libxfce4ui-devel>=4.12 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 10:02:19 +02:00
distfiles="http://archive.xfce.org/src/xfce/exo/${version%.*}/exo-${version}.tar.bz2"
2015-03-01 09:21:25 +01:00
checksum=95704b14ef9065268c3aa9a7c0bacbe0ddb490a183a4f5ab13bba4a1722826bd
2014-09-23 13:46:25 +02:00
pre_configure() {
if [ "$CROSS_BUILD" ]; then
export ac_cv_strftime_extensions=yes
# Disable tests:
2015-03-01 10:23:01 +01:00
sed -i 's/^\([[:blank:]]*po\).*$/\1/;/^[[:blank:]]*tests$/d' Makefile.am
2014-09-23 13:46:25 +02:00
fi
2015-03-01 10:23:01 +01:00
mkdir m4
NOCONFIGURE=1 xdt-autogen
2014-09-23 13:46:25 +02:00
}
exo-devel_package() {
2015-03-01 09:21:25 +01:00
depends="libxfce4ui-devel exo-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2014-02-14 15:19:12 +01:00
vmove "usr/lib/*.so"
vmove usr/bin/exo-csource
vmove usr/share/man/man1/exo-csource.1
vmove "usr/share/*doc"
}
}