# SliTaz package receipt. PACKAGE="fontconfig" VERSION="2.8.0" CATEGORY="x-window" SHORT_DESC="Font configuration utilities and library." MAINTAINER="pankso@slitaz.org" DEPENDS="expat freetype zlib" BUILD_DEPENDS="libxml2-dev freetype-dev" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.fontconfig.org/wiki/" WGET_URL="http://fontconfig.org/release/$TARBALL" # Rules to configure and make the package. compile_rules() { cd $src ./configure \ --sysconfdir=/etc \ --prefix=/usr \ --mandir=/usr/share/man \ --localstatedir=/var \ --with-arch=$ARCH \ $CONFIGURE_ARGS && make && make DESTDIR=$PWD/_pkg install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib cp -a $_pkg/usr/bin $fs/usr cp -a $_pkg/usr/lib/*.so* $fs/usr/lib cp -a $_pkg/etc $fs cp -a $_pkg/var $fs }