wok view jp2a/receipt @ rev 17873
eom: Update bdeps and genpkg_rules
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Fri Mar 27 02:10:52 2015 -0300 (2015-03-27) |
parents | |
children | 72e35f3c7aa1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="jp2a"
4 VERSION="1.0.6"
5 CATEGORY="graphics"
6 SHORT_DESC="Converts JPG images to ASCII."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://csl.name/jp2a/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="jpeg libcurl"
14 BUILD_DEPENDS="jpeg-dev curl-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure --prefix=/usr \
20 $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/bin $fs/usr
30 }