wok-6.x annotate jasper/receipt @ rev 19800

e4rat: add -lcom_err
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 25 09:54:23 2017 +0100 (2017-02-25)
parents fd22b033a84a
children a0e682d8c53d
rev   line source
jozee@3038 1 # SliTaz package receipt.
jozee@3038 2
jozee@3038 3 PACKAGE="jasper"
jozee@3038 4 VERSION="1.900.1"
jozee@3038 5 CATEGORY="graphics"
jozee@3038 6 SHORT_DESC="implementation of JPEG-2000 codec"
jozee@3038 7 MAINTAINER="jozee@slitaz.org"
pascal@15601 8 LICENSE="MIT"
jozee@3038 9 TARBALL="$PACKAGE-$VERSION.zip"
jozee@3038 10 WEB_SITE="http://www.ece.uvic.ca/~mdadams/$PACKAGE/"
jozee@3038 11 WGET_URL="$WEB_SITE/software/$TARBALL"
jozee@3038 12 TAGS="jpeg jpg photo"
pascal@19096 13 HOST_ARCH="i486 arm"
jozee@3038 14
pascal@15601 15 DEPENDS="xorg-libXi xorg-libXmu jpeg freeglut libglu-mesa util-linux-uuid"
pascal@15616 16 BUILD_DEPENDS="jpeg-dev xorg-libXi-dev xorg-libXmu-dev autoconf"
jozee@3038 17
jozee@3038 18 # Rules to configure and make the package.
jozee@3038 19 compile_rules()
jozee@3038 20 {
jozee@3038 21 cd $src
jozee@3038 22 chmod +x configure
gokhlayeh@11573 23 ./configure --prefix=/usr --mandir=/usr/share/man --enable-shared $CONFIGURE_ARGS &&
jozee@3038 24 make &&
pascal@15601 25 make DESTDIR=$DESTDIR install
jozee@3038 26
jozee@3038 27 }
jozee@3038 28
jozee@3038 29 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@3038 30 genpkg_rules()
jozee@3038 31 {
jozee@3038 32 mkdir -p $fs/usr/lib
pascal@15601 33 cp -a $install/usr/bin $fs/usr
pascal@15601 34 cp -a $install/usr/lib/*so* $fs/usr/lib
jozee@3038 35
jozee@3038 36 }