Added gmime-2.4.19 build template.

This commit is contained in:
Juan RP 2010-11-20 02:54:02 +01:00
parent 474de50910
commit 6af02373e0
5 changed files with 54 additions and 0 deletions

1
srcpkgs/gmime-devel Symbolic link
View File

@ -0,0 +1 @@
gmime

2
srcpkgs/gmime/depends Normal file
View File

@ -0,0 +1,2 @@
abi_depends=">=2.4.19"
api_depends="${abi_depends}"

View File

@ -0,0 +1,20 @@
# Template file for 'gmime-devel'.
#
short_desc="${short_desc} - development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run pkg-config
Add_dependency run glib-devel
Add_dependency run zlib-devel
Add_dependency run gmime
do_install()
{
mkdir -p ${DESTDIR}/usr/{lib,share}
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/lib*.a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share/gtk-doc ${DESTDIR}/usr/share
}

30
srcpkgs/gmime/template Normal file
View File

@ -0,0 +1,30 @@
# Template file for 'gmime'
pkgname=gmime
version=2.4.19
distfiles="${GNOME_SITE}/$pkgname/2.4/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--localstatedir=/var --disable-mono"
short_desc="GNOME Core mime parsing library"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=0fa34162a77889c4d6038d8e1c482e0e3dc21310ec378811192547051640f528
long_desc="
This package provides an implementation of the Desktop Menu Specification
for the GNOME Desktop."
subpackages="$pkgname-devel"
Add_dependency run glibc
Add_dependency run glib
Add_dependency run zlib
Add_dependency build pkg-config
Add_dependency build intltool
Add_dependency build glib-devel
Add_dependency build zlib-devel
post_install()
{
for f in uuen uude; do
mv ${DESTDIR}/usr/bin/${f}code ${DESTDIR}/usr/bin/g${f}code
done
}

View File

@ -700,3 +700,4 @@ libpulse-browse.so libpulseaudio pulseaudio-devel
libpulse-mainloop-glib.so libpulseaudio pulseaudio-devel
liborc-0.4.so orc orc-devel
liborc-test-0.4.so orc orc-devel
libgmime-2.4.so gmime gmime-devel