evolution: add -devel.

This commit is contained in:
Enno Boland 2014-11-09 20:57:31 +01:00 committed by Enno Boland
parent 26f8efff30
commit 862707b416
3 changed files with 13 additions and 8 deletions

View File

@ -19,9 +19,9 @@ distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=06fb4b9a1137b77a53e94eb69e4aeedd8f92d1bd1cfa0175f607660dd3b30818
post_install() {
# Fix broken pkg-config
sed -i "s|^Requires: gio-2.0, , |Requires: gio-2.0, mozilla-nspr, mozilla-nss|" \
$DESTDIR/usr/lib/pkgconfig/evolution-data-server-1.2.pc
# Fix broken pkg-config
sed -i "s|^Requires: gio-2.0, , |Requires: gio-2.0, mozilla-nspr, mozilla-nss|" \
$DESTDIR/usr/lib/pkgconfig/evolution-data-server-1.2.pc
}
evolution-data-server-devel_package() {

1
srcpkgs/evolution-devel Symbolic link
View File

@ -0,0 +1 @@
evolution

View File

@ -21,9 +21,13 @@ homepage="http://www.gnome.org"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=6a6996ed350e2bc09ecb63befdbc9cfbd9d1097e0ff77033e9bafd1f7b5a6414
post_install() {
# Remove devel stuff, not interested.
rm -rf ${DESTDIR}/usr/include
rm -rf ${DESTDIR}/usr/lib/pkgconfig
rm -rf ${DESTDIR}/usr/share/gtk-doc
evolution-devel_package() {
depends="GConf-devel gtkhtml-devel>=4.6.0 evolution-data-server-devel>=3.12
gnome-desktop-devel>=3.12 ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/gtk-doc
}
}