wok-next view openjpeg/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | c4e53a39395a |
children | b863487b8e7a |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="openjpeg"
4 VERSION="1.5.2"
5 CATEGORY="graphics"
6 SHORT_DESC="An open source JPEG 2000 codec"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="http://www.openjpeg.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/openjpeg.mirror/$TARBALL"
14 BUILD_DEPENDS="automake libtool libpng16-dev zlib-dev tiff-dev lcms2-dev"
15 SPLIT="openjpeg-tools openjpeg-dev"
17 compile_rules() {
18 autoreconf -fi &&
19 ./configure \
20 --disable-static \
21 $CONFIGURE_ARGS &&
22 fix libtool &&
23 make &&
24 make install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 openjpeg)
30 copy *.so*
31 ;;
32 *-tools)
33 copy bin/
34 CAT="graphics|applications"
35 DEPENDS="openjpeg lcms2 libjpeg-turbo libpng16 tiff zlib"
36 ;;
37 *-dev)
38 copy @dev
39 ;;
40 esac
41 }