wok-current view openjpeg/receipt @ rev 14445
coccinella: add desktop file
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 26 17:13:04 2013 +0200 (2013-04-26) |
parents | 9df2d923214c |
children | ad59999b3fce |
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.openjpeg.org/"
10 WGET_URL="http://openjpeg.googlecode.com/files/$TARBALL"
12 DEPENDS="glibc-base"
13 BUILD_DEPENDS="zlib-dev tiff-dev coreutils-directory"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 # make sure we use system libs
20 [ -d thirtparty ] && rm -rf thirtparty
21 ./configure --enable-lcms2=no \
22 --enable-png=no \
23 --enable-lcms1=no \
24 --disable-static \
25 $CONFIGURE_ARGS &&
26 make && make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $install/usr/lib/*.so* $fs/usr/lib
34 }