wok-next annotate openjpeg/receipt @ rev 15241
octave: remove wrong error trigger
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 23 12:51:41 2013 +0000 (2013-09-23) |
parents | 159a8b382826 |
children | d6b99c62ef00 |
rev | line source |
---|---|
slaxemulator@6843 | 1 # SliTaz package receipt. |
slaxemulator@6843 | 2 |
slaxemulator@6843 | 3 PACKAGE="openjpeg" |
slaxemulator@12315 | 4 VERSION="1.5.0" |
slaxemulator@6843 | 5 CATEGORY="development" |
slaxemulator@6843 | 6 SHORT_DESC="An open source JPEG 2000 codec" |
slaxemulator@6843 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14657 | 8 LICENSE="BSD" |
slaxemulator@12315 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@6843 | 10 WEB_SITE="http://www.openjpeg.org/" |
slaxemulator@8600 | 11 WGET_URL="http://openjpeg.googlecode.com/files/$TARBALL" |
slaxemulator@6843 | 12 |
al@14429 | 13 DEPENDS="glibc-base" |
slaxemulator@12315 | 14 BUILD_DEPENDS="zlib-dev tiff-dev coreutils-directory" |
pascal@12119 | 15 |
slaxemulator@6843 | 16 # Rules to configure and make the package. |
slaxemulator@6843 | 17 compile_rules() |
slaxemulator@6843 | 18 { |
slaxemulator@6843 | 19 cd $src |
slaxemulator@12315 | 20 # make sure we use system libs |
slaxemulator@12315 | 21 [ -d thirtparty ] && rm -rf thirtparty |
slaxemulator@8600 | 22 ./configure --enable-lcms2=no \ |
slaxemulator@8600 | 23 --enable-png=no \ |
slaxemulator@8600 | 24 --enable-lcms1=no \ |
gokhlayeh@11573 | 25 --disable-static \ |
gokhlayeh@11573 | 26 $CONFIGURE_ARGS && |
slaxemulator@12315 | 27 make && make DESTDIR=$DESTDIR install |
slaxemulator@6843 | 28 } |
slaxemulator@6843 | 29 |
slaxemulator@6843 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6843 | 31 genpkg_rules() |
slaxemulator@6843 | 32 { |
slaxemulator@6843 | 33 mkdir -p $fs/usr/lib |
al@14429 | 34 cp -a $install/usr/lib/*.so* $fs/usr/lib |
slaxemulator@6843 | 35 } |
slaxemulator@6843 | 36 |