wok-next view jpeg/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 | c466f87a9759 |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="jpeg"
4 VERSION="9b"
5 CATEGORY="x-window"
6 SHORT_DESC="JPEG image programs"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="http://www.ijg.org/"
11 TARBALL="jpegsrc.v${VERSION}.tar.gz"
12 WGET_URL="http://www.ijg.org/files/$TARBALL"
14 SPLIT="libjpeg jpeg jpeg-dev"
16 compile_rules() {
17 ./configure \
18 --enable-shared \
19 $CONFIGURE_ARGS &&
20 fix libtool &&
21 make &&
22 make DESTDIR=$DESTDIR install || return 1
24 install -Dm644 $src/jpegint.h $install/usr/include/jpegint.h
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 libjpeg)
30 copy *.so*
31 CAT="x-window|library"
32 ;;
33 jpeg)
34 copy @std @rm
35 DEPENDS="libjpeg"
36 ;;
37 *-dev)
38 copy @dev
39 ;;
40 esac
41 TAGS="jpeg jpg"
42 }