#Maintainer: Dimitris Tzemos < djemos~at~slackel~dot~gr> pkgname=fontforge pkgver=20120731b pkgrel=1dj source=(http://downloads.sourceforge.net/fontforge/fontforge_full-20120731-b.tar.bz2 http://fontforge.sf.net/cidmaps.tgz http://slackware.osuosl.org/slackware-14.0/source/l/freetype/freetype-2.4.10.tar.xz ) url=http://fontforge.sourceforge.net/ docs=('AUTHORS' 'INSTALL' 'LICENSE' 'README-Unix.html' 'README-unix' 'VERSION') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "FontForge (an outline font editor)" "FontForge is an outline font editor that lets you create your own" "postscript, truetype, opentype, cid-keyed, multi-master, cff, svg" "and bitmap (bdf, FON, NFNT) fonts, or edit existing ones. It also" "lets you convert one format to another. FontForge has support for" "many Macintosh font formats." "" "Homepage: http://fontforge.sourceforge.net/" ) build() { ENABLE_BCINT=${ENABLE_BCINT:-yes} FREETYPE=${FREETYPE:-"2.4.10"} cd $SRC/$pkgname-20120731-b CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --mandir=/usr/man \ --with-x \ --with-freetype-src=$SRC/freetype-${FREETYPE} \ --with-freetype-bytecode=$ENABLE_BCINT \ --enable-libff \ --enable-pyextension \ --enable-type3 \ --enable-tilepath \ --enable-static=no \ --enable-shared=yes \ --build=$arch-slackware-linux || return 1 make || return 1 make install DESTDIR=$PKG || return 1 # Let's add the cidmaps mkdir -p $PKG/usr/share/fontforge || return 1 tar xvf $SRC/cidmaps.tgz -C $PKG/usr/share/fontforge || return 1 chmod 0644 $PKG/usr/share/fontforge/*.cidmap || return 1 }