wok-next view jpeg/receipt @ rev 21722
efivar: typo in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 01 10:31:46 2020 +0000 (2020-09-01) |
parents | 0ec6086e21d6 |
children |
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="devel@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 $PACKAGE $PACKAGE-dev"
16 compile_rules() {
17 ./configure \
18 --enable-shared \
19 $CONFIGURE_ARGS &&
20 fix libtool &&
21 make &&
22 make DESTDIR=$install 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 }