void-packages/srcpkgs/elementary/template

43 lines
1.2 KiB
Text
Raw Normal View History

2012-12-22 06:52:16 +00:00
# Template file for 'elementary'
pkgname=elementary
2013-12-21 17:00:53 +00:00
version=1.8.2
revision=1
2013-05-17 12:28:10 +00:00
hostmakedepends="pkg-config"
2013-12-02 15:27:52 +00:00
makedepends="efl-devel>=${version} desktop-file-utils"
2012-12-22 06:52:16 +00:00
build_style=gnu-configure
2013-12-18 10:26:27 +00:00
configure_args="--with-tests=none --disable-static --enable-quick-launch --disable-elementary-test"
2012-12-22 06:52:16 +00:00
homepage="http://enlightenment.org"
short_desc="Enlightenment's widget set"
maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD"
2013-12-02 15:27:52 +00:00
distfiles="http://download.enlightenment.org/rel/libs/${pkgname}/${pkgname}-${version}.tar.bz2"
2013-12-21 17:00:53 +00:00
checksum=958c50fbb3ffa77c0f2792a9787cd3d2022464b449cbb024256cf3442e145990
2013-12-18 10:26:27 +00:00
if [ "$CROSS_BUILD" ]; then
# XXX needs host elm_prefs_cc
hostmakedepends+=" automake libtool gettext-devel efl>=1.8 elementary>=1.8"
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() {
2013-12-02 15:27:52 +00:00
depends="efl-devel>=${version} ${sourcepkg}>=${version}_${revision}"
2013-05-17 12:28:10 +00:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
2013-12-02 15:27:52 +00:00
vmove usr/lib/cmake
vmove usr/lib/pkgconfig
2013-08-13 19:53:29 +00:00
vmove "usr/lib/*.so"
}
}
elementary_package() {
2013-05-17 12:28:10 +00:00
depends="desktop-file-utils"
pkg_install() {
2013-05-17 12:28:10 +00:00
vmove all
}
}