41 lines
1.2 KiB
Bash
41 lines
1.2 KiB
Bash
# Template file for 'exo'
|
|
pkgname=exo
|
|
version=0.10.4
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static"
|
|
hostmakedepends="xfce4-dev-tools pkg-config intltool gettext-devel glib-devel perl-URI"
|
|
makedepends="gtk+-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"
|
|
distfiles="http://archive.xfce.org/src/xfce/exo/${version%.*}/exo-${version}.tar.bz2"
|
|
checksum=cced5fdbc0b61a5d976210ff71ecdd81b89fcd15e5860a44f50da7b83fb2deaa
|
|
|
|
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
|
|
mkdir m4
|
|
NOCONFIGURE=1 xdt-autogen
|
|
}
|
|
|
|
exo-devel_package() {
|
|
depends="libxfce4ui-devel exo-${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/bin/exo-csource
|
|
vmove usr/share/man/man1/exo-csource.1
|
|
vmove "usr/share/*doc"
|
|
}
|
|
}
|