wok-current view openjpeg/receipt @ rev 15350
ruby-gtk2: no more libglade ?
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 30 15:30:22 2013 +0000 (2013-09-30) |
parents | 159a8b382826 |
children | d6b99c62ef00 |
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"
13 DEPENDS="glibc-base"
14 BUILD_DEPENDS="zlib-dev tiff-dev coreutils-directory"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 # make sure we use system libs
21 [ -d thirtparty ] && rm -rf thirtparty
22 ./configure --enable-lcms2=no \
23 --enable-png=no \
24 --enable-lcms1=no \
25 --disable-static \
26 $CONFIGURE_ARGS &&
27 make && make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 }