# SliTaz package receipt. PACKAGE="mupdf" VERSION="0.7" CATEGORY="utilities" SHORT_DESC="lightweight PDF viewer and toolkit written in portable C" MAINTAINER="jozee@slitaz.org" TARBALL="$PACKAGE-$VERSION.tar.gz" DEPENDS="freetype jpeg zlib jbig2dec openjpeg" BUILD_DEPENDS="freetype-dev jpeg-dev openjpeg-dev jbig2dec-dev zlib-dev pkg-config xorg-libX11-dev xorg-libXext-dev xorg-xextproto ftjam" WEB_SITE="http://mupdf.com/" WGET_URL="http://mupdf.com/download/$TARBALL" # Rules to configure and make the package. compile_rules() { cd $src sed -i 's| debug| release|g' Makefile make build=release make build=release prefix=$PWD/_pkg/usr install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/bin cp -a $_pkg/usr/bin $fs/usr }