wok view openjpeg/receipt @ rev 16218
ARM: add some libs for mupdf
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Mar 31 22:14:07 2014 +0200 (2014-03-31) |
parents | ad59999b3fce |
children | dad87079f1a0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="openjpeg"
4 VERSION="1.5.0"
5 CATEGORY="development"
6 SHORT_DESC="An open source JPEG 2000 codec"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.openjpeg.org/"
11 WGET_URL="http://openjpeg.googlecode.com/files/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="glibc-base"
15 BUILD_DEPENDS="zlib-dev tiff-dev"
17 # Handle cross compilation.
18 case "$ARCH" in
19 i?86) BUILD_DEPENDS="$BUILD_DEPENDS coreutils-directory" ;;
20 esac
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 # make sure we use system libs
26 [ -d thirtparty ] && rm -rf thirtparty
27 ./configure --enable-lcms2=no \
28 --enable-png=no \
29 --enable-lcms1=no \
30 --disable-static \
31 $CONFIGURE_ARGS &&
32 make && make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 }