Contents of /trunk/extras/libjpeg-turbo/libjpeg-turbo-1.5.1-r1.smage2
Parent Directory | Revision Log
Revision 29174 -
(show annotations)
(download)
Mon May 29 07:52:33 2017 UTC (7 years ago) by niro
File size: 1077 byte(s)
Mon May 29 07:52:33 2017 UTC (7 years ago) by niro
File size: 1077 byte(s)
auto added: ver bump to 1.5.1-r1
1 | # $Id$ |
2 | |
3 | PNAME="libjpeg-turbo" |
4 | PVER="1.5.1" |
5 | PBUILD="r1" |
6 | |
7 | PCAT="media-libs" |
8 | |
9 | DESCRIPTION="jpeg picture compression library with accelerated baseline compression and decompression." |
10 | HOMEPAGE="http://libjpeg-turbo.virtualgl.org/" |
11 | |
12 | DEPEND=">= virtual/glibc" |
13 | SDEPEND=">= dev-lang/nasm-2.13" |
14 | PROVIDE=">= virtual/libjpeg" |
15 | |
16 | SRCFILE="${PVER}.tar.gz" |
17 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
18 | |
19 | # fix cpu detection not honoring CHOST |
20 | EMUL_LINUX_32=true |
21 | sminclude multilib mtools |
22 | |
23 | SRC_URI=( |
24 | https://github.com/${PNAME}/${PNAME}/archive/${SRCFILE} |
25 | mirror://${PNAME}/${SRCFILE} |
26 | ) |
27 | |
28 | UP2SEPERATOR="\/" |
29 | UP2DATE="updatecmd https://github.com/${PNAME}/${PNAME}/releases | highesttarball gz" |
30 | |
31 | src_prepare() |
32 | { |
33 | munpack ${SRCFILE} || die |
34 | mautoreconf || die |
35 | } |
36 | |
37 | src_compile() |
38 | { |
39 | mconfigure --without-java || die |
40 | mmake || die |
41 | } |
42 | |
43 | src_install() |
44 | { |
45 | mmake DESTDIR=${BINDIR} \ |
46 | docdir=/usr/share/doc/${PNAME}-${PVER} \ |
47 | exampledir=/usr/share/doc/${PNAME}-${PVER} \ |
48 | install || die |
49 | |
50 | # add missing header |
51 | all-abis minstallfile jpegint.h /usr/include/ || die |
52 | |
53 | minstalldocs README change.log *.txt || die |
54 | } |