void-packages/srcpkgs/elementary/template
2014-06-05 10:07:19 +02:00

36 lines
1.2 KiB
Text

# Template file for 'elementary'
pkgname=elementary
version=1.9.5
revision=1
hostmakedepends="pkg-config"
makedepends="efl-devel>=${version} desktop-file-utils"
depends="efl>=${version} desktop-file-utils"
build_style=gnu-configure
configure_args="--with-tests=none --disable-static --enable-quick-launch --disable-elementary-test"
homepage="http://enlightenment.org"
short_desc="Enlightenment's widget set"
maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD"
distfiles="http://download.enlightenment.org/rel/libs/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=65489ba954d5ba173924ba19aec99a750c2240db6268b454440a8f7e546d976b
if [ "$CROSS_BUILD" ]; then
# XXX needs host elm_prefs_cc
hostmakedepends+=" automake libtool gettext-devel efl>=1.9 elementary>=1.9"
configure_args+=" --with-elm-prefs-cc=/usr/bin/elm_prefs_cc"
pre_configure() {
sed -e 's,^\(ELM_PREFS_CC \).*$,\1=/usr/bin/elm_prefs_cc,g' -i data/objects/Makefile.am
autoreconf -fi
}
fi
elementary-devel_package() {
depends="efl-devel>=${version} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}