summaryrefslogtreecommitdiff
path: root/t1lib/Pkgfile
blob: c843fa8f924c7f016777cb8aa0c908b821b21f2d (plain)
    1 # Description: A Type 1 Font Rasterizer Library for UNIX/X11.
    2 # URL: http://www.ibiblio.org/pub/Linux/libs/graphics/!INDEX.html
    3 # Maintainer: Danny Rawlins, crux at romster dot me
    4 # Depends on: xorg-libxaw
    5 
    6 name=t1lib
    7 version=5.1.2
    8 release=2
    9 source=(http://www.ibiblio.org/pub/Linux/libs/graphics/$name-$version.tar.gz
   10 	lib-cleanup.diff
   11 	format-security.diff
   12 	CVE-2011-0764.diff
   13 	CVE-2011-1552_1553_1554.patch
   14 	CVE-2010-2642.patch)
   15 
   16 build() {
   17 	cd $name-$version
   18 
   19 	patch -p1 -i $SRC/lib-cleanup.diff
   20 	patch -p1 -i $SRC/format-security.diff
   21 	patch -p1 -i $SRC/CVE-2011-0764.diff
   22 	patch -p1 -i $SRC/CVE-2011-1552_1553_1554.patch
   23 	patch -p1 -i $SRC/CVE-2010-2642.patch
   24 
   25 	./configure \
   26 		--prefix=/usr \
   27 		--disable-nls
   28 
   29 	make without_doc
   30 	make prefix=$PKG/usr install
   31 
   32 	rm -r $PKG/usr/share/t1lib/doc
   33 	cd $PKG/usr/lib
   34 	chmod a+x libt1.la libt1.so.${version} libt1x.la
   35 }

Generated by cgit