wok-next annotate openjpeg/receipt @ rev 18336
Up zstd (0.1.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 10 17:29:00 2015 +0200 (2015-09-10) |
parents | d6b99c62ef00 |
children | 9b83ae3e9ce7 |
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" |
pankso@16218 | 12 HOST_ARCH="i486 arm" |
slaxemulator@6843 | 13 |
al@14429 | 14 DEPENDS="glibc-base" |
pankso@16218 | 15 BUILD_DEPENDS="zlib-dev tiff-dev" |
pankso@16218 | 16 |
slaxemulator@6843 | 17 # Rules to configure and make the package. |
slaxemulator@6843 | 18 compile_rules() |
slaxemulator@6843 | 19 { |
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 |