wok-next view openjpeg/receipt @ rev 19311
Make "yad" the virtual package with real options: "yad-gtk2" and "yad-gtk3"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jul 12 02:38:19 2016 +0300 (2016-07-12) |
parents | d6b99c62ef00 |
children | 9b83ae3e9ce7 |
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 # Rules to configure and make the package.
18 compile_rules()
19 {
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 }