# SliTaz package receipt. PACKAGE="fontconfig" VERSION="2.10.91" CATEGORY="x-window" SHORT_DESC="Font configuration utilities and library" MAINTAINER="pankso@slitaz.org" LICENSE="MIT" WEB_SITE="http://www.fontconfig.org/wiki/" TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="http://www.freedesktop.org/software/fontconfig/release/$TARBALL" HOST_ARCH="i486 arm" DEPENDS="bzlib expat freetype libxml2" BUILD_DEPENDS="libxml2-dev freetype-dev" # Rules to configure and make the package. compile_rules() { ./configure \ --sysconfdir=/etc \ --localstatedir=/var \ --with-arch=$ARCH \ --disable-static \ --enable-iconv \ --enable-libxml2 \ --disable-docs \ $CONFIGURE_ARGS && make && make DESTDIR=$install install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib cp -a $install/etc $fs cp -a $install/usr/bin $fs/usr cp -a $install/usr/lib/*.so* $fs/usr/lib cp -a $install/usr/share $fs/usr cp -a $install/var $fs cd $fs/usr/share/fontconfig/conf.avail for h in hintslight hintmedium hintfull; do cat > ./10-hintstyle-$h.conf < ${h} EOT ln -s /usr/share/fontconfig/conf.avail/11-lcdfilter-default.conf \ $fs/etc/fonts/conf.d chown -R root.root $fs }