wok-next annotate openjpeg/receipt @ rev 14367
sqlite: update WGET_URL
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 21 17:39:32 2013 +0200 (2013-04-21) |
parents | 16b97ec782a4 |
children | 159a8b382826 |
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" |
slaxemulator@12315 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@6843 | 9 WEB_SITE="http://www.openjpeg.org/" |
slaxemulator@8600 | 10 WGET_URL="http://openjpeg.googlecode.com/files/$TARBALL" |
slaxemulator@6843 | 11 |
slaxemulator@12315 | 12 DEPENDS="glibc-base zlib tiff" |
slaxemulator@12315 | 13 BUILD_DEPENDS="zlib-dev tiff-dev coreutils-directory" |
pascal@12119 | 14 |
slaxemulator@6843 | 15 # Rules to configure and make the package. |
slaxemulator@6843 | 16 compile_rules() |
slaxemulator@6843 | 17 { |
slaxemulator@6843 | 18 cd $src |
slaxemulator@12315 | 19 # make sure we use system libs |
slaxemulator@12315 | 20 [ -d thirtparty ] && rm -rf thirtparty |
slaxemulator@8600 | 21 ./configure --enable-lcms2=no \ |
slaxemulator@8600 | 22 --enable-png=no \ |
slaxemulator@8600 | 23 --enable-lcms1=no \ |
gokhlayeh@11573 | 24 --disable-static \ |
gokhlayeh@11573 | 25 $CONFIGURE_ARGS && |
slaxemulator@12315 | 26 make && make DESTDIR=$DESTDIR install |
slaxemulator@6843 | 27 } |
slaxemulator@6843 | 28 |
slaxemulator@6843 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6843 | 30 genpkg_rules() |
slaxemulator@6843 | 31 { |
slaxemulator@6843 | 32 mkdir -p $fs/usr/lib |
slaxemulator@6843 | 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
slaxemulator@6843 | 34 } |
slaxemulator@6843 | 35 |