1 # Maintainer: A. S. Budden <abudden@NOSPAMgataki.co.uk>
5 pkgdesc="Graphics Layout Engine -- text file based vector imaging application"
6 url="http://glx.sourceforge.net"
7 depends=(boost libtiff xorg bash)
8 source=(http://dl.sourceforge.net/sourceforge/glx/${pkgname}_${pkgver}_src.zip \
9 size_positioning_patch)
10 md5sums=('3a83383c3a3e4997032366ee828491e1' '3130e463d053dd5aed8b56c8d8852ffb')
13 cd $startdir/src/${pkgname}-${pkgver}
14 patch -p0 < $startdir/src/size_positioning_patch
15 mkdir -p $startdir/pkg/usr/share
16 mkdir -p $startdir/pkg/usr/bin
17 export BOOSTDIR=/usr/include/boost
18 sed -i '/^\t-$(RM\(DIR\)\?) $(INSTALL/s/$(INSTALL_/$(GLE_RPM_ROOT)\/\0/' Makefile.gcc
19 make -f Makefile.gcc GLE_TOP=$startdir/src/${pkgname}-${pkgver}/bin || return 1
20 make -f Makefile.gcc GLE_RPM_ROOT=$startdir/pkg install