# SliTaz package receipt. PACKAGE="jp2a" VERSION="1.1.1" CATEGORY="graphics" SHORT_DESC="Converts JPG images to ASCII." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" WEB_SITE="https://github.com/Talinx/jp2a" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" DEPENDS="jpeg libcurl" BUILD_DEPENDS="autoconf-archive automake jpeg-dev curl-dev" current_version() { wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { ./autogen.sh && ./configure \ --prefix=/usr \ $CONFIGURE_ARGS && make && make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cook_copy_folders bin }