CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
libcap: initial import (verified compilation)
[attic/ports/opt-cross.git] / libjpeg / Pkgfile
CommitLineData
7d8f0610
JB
1# Description: Library of JPEG support functions.
2# URL: http://www.ijg.org/
3# Maintainer: Tilman Sauerbeck, tilman at crux dot nu
38b50d66 4# Arch Maintainer: System Team, devel at crux-arm dot nu
7d8f0610
JB
5# Depends on:
6
7name=libjpeg
8version=6b
9release=1
10source=(ftp://ftp.uni-frankfurt.de/pub/Mirrors2/gentoo.org/distfiles/jpegsrc.v$version.tar.gz \
11 $name-$version.cross_compile.patch)
12
13build() {
14 cd jpeg-$version
15
16 patch -p1 -i $SRC/$name-$version.cross_compile.patch
17
18 ./configure --build=$CHOST \
19 --host=$CTARGET \
20 --prefix=/usr \
21 --enable-shared \
22 --enable-static
23 make CFLAGS="$CFLAGS" AR="$AR rc"
24 install -d -m 0755 $PKG/usr/{include,lib}
25 make prefix=$PKG/usr install-lib
26}