wok annotate jp2a/receipt @ rev 17526

Add jp2a
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 19 00:23:49 2015 +0100 (2015-01-19)
parents
children 72e35f3c7aa1
rev   line source
pascal@17526 1 # SliTaz package receipt.
pascal@17526 2
pascal@17526 3 PACKAGE="jp2a"
pascal@17526 4 VERSION="1.0.6"
pascal@17526 5 CATEGORY="graphics"
pascal@17526 6 SHORT_DESC="Converts JPG images to ASCII."
pascal@17526 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@17526 8 LICENSE="GPL2"
pascal@17526 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@17526 10 WEB_SITE="https://csl.name/jp2a/"
pascal@17526 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@17526 12
pascal@17526 13 DEPENDS="jpeg libcurl"
pascal@17526 14 BUILD_DEPENDS="jpeg-dev curl-dev"
pascal@17526 15
pascal@17526 16 # Rules to configure and make the package.
pascal@17526 17 compile_rules()
pascal@17526 18 {
pascal@17526 19 ./configure --prefix=/usr \
pascal@17526 20 $CONFIGURE_ARGS &&
pascal@17526 21 make &&
pascal@17526 22 make DESTDIR=$DESTDIR install
pascal@17526 23 }
pascal@17526 24
pascal@17526 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17526 26 genpkg_rules()
pascal@17526 27 {
pascal@17526 28 mkdir -p $fs/usr
pascal@17526 29 cp -a $install/usr/bin $fs/usr
pascal@17526 30 }