[arch-multilib] libgtkhtml PKGBUILD
Hello all, I am trying to run a 32 bit accounting and tax software for germany. It needs libgtkhtml to display its helpfiles. So I tried a PKGBUILD _pkgbasename=libgtkhtml pkgname=lib32-$_pkgbasename pkgver=2.11.1 pkgrel=1 pkgdesc="An HTML library for GTK" arch=('x86_64') license=('LGPL') depends=('lib32-gtk2>=2.14.4' 'lib32-libxml2>=2.6.32' $_pkgbasename) makedepends=(gcc-multilib 'perlxml' 'pkgconfig') options=('!libtool') url="http://www.gnome.org" source=(http://ftp.gnome.org/pub/gnome/sources/${_pkgbasename}/2.11/${_pkgbasename}-${pkgver}.tar.bz2) md5sums=('a1d1a197dcff8c4571659deef5495e24') build() { cd ${srcdir}/${_pkgbasename}-${pkgver} export CC="gcc -m32" export CXX="g++ -m32" export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" CFLAGS=${CFLAGS/-march=$CARCH} ./configure --prefix=/usr --sysconfdir=/etc \ --localstatedir=/var --disable-static --libdir=/usr/lib32 make } package() { cd ${srcdir}/${_pkgbasename}-${pkgver} make DESTDIR="${pkgdir}" install rm -rf "${pkgdir}"/usr/{include,share,bin} mkdir -p "$pkgdir/usr/share/licenses" ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname" } It builds and my app loads its html helpfiles now ;-) But just to be sure could someone have a look over my PKGBUILD to see if I did something nasty? Harvey -- Linux is like a wigwam: No Gates, no Windows and an Apache inside
Am 04.09.2010 23:45, schrieb Harvey:
It builds and my app loads its html helpfiles now ;-) But just to be sure could someone have a look over my PKGBUILD to see if I did something nasty?
This seems good. Make sure to upload it into the AUR.
On Sun, Sep 5, 2010 at 11:04 AM, Thomas Bächler <thomas@archlinux.org> wrote:
Am 04.09.2010 23:45, schrieb Harvey:
It builds and my app loads its html helpfiles now ;-) But just to be sure could someone have a look over my PKGBUILD to see if I did something nasty?
This seems good. Make sure to upload it into the AUR.
_______________________________________________ arch-multilib mailing list arch-multilib@archlinux.org http://mailman.archlinux.org/mailman/listinfo/arch-multilib
It shouldn't be doing CFLAGS=${CFLAGS/-march=$CARCH} unless absolutely needed.
Jan,
It shouldn't be doing CFLAGS=${CFLAGS/-march=$CARCH} unless absolutely needed.
I compiles (and works) without it so I removed the line. Thank you Harvey -- Linux is like a wigwam: No Gates, no Windows and an Apache inside
participants (3)
-
Harvey
-
Jan Steffens
-
Thomas Bächler