Skip to content
This repository has been archived by the owner on Nov 17, 2020. It is now read-only.

Commit

Permalink
Update to jpeg 8d
Browse files Browse the repository at this point in the history
  • Loading branch information
dieterv committed Sep 26, 2012
1 parent 9c43d2a commit 6a98141
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 1 deletion.
2 changes: 1 addition & 1 deletion devel/dist/win32/LATEST
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ gettext-examples 0.18.1.1-2
gettext-runtime 0.18.1.1-2
gettext-tools 0.18.1.1-2
hicolor-icon-theme 0.10-1
jpeg 8-1
jpeg 8d-1
libpng 1.4.3-1
libxml2 2.7.7-1
pixman 0.24.0-1
Expand Down
44 changes: 44 additions & 0 deletions devel/src/dieterv/packaging/jpeg_8d-1_win32.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# This is a shell script that calls functions and scripts from
# tml@iki.fi's personal work environment. It is not expected to be
# usable unmodified by others, and is included only for reference.

MOD=jpeg
VER=8d
REV=1
ARCH=win32

THIS=${MOD}_${VER}-${REV}_${ARCH}

RUNZIP=${MOD}_${VER}-${REV}_${ARCH}.zip
DEVZIP=${MOD}-dev_${VER}-${REV}_${ARCH}.zip

HEX=`echo $THIS | md5sum | cut -d' ' -f1`
TARGET=/devel/target/$HEX

usedev
usewinsdk52

(

set -x

CC='gcc -mtune=pentium3 -mthreads' \
CFLAGS=-O2 \
./configure \
--disable-static \
--prefix=$TARGET &&

make install &&

rm -f /tmp/$RUNZIP /tmp/$DEVZIP &&

cd $TARGET &&
zip /tmp/$RUNZIP bin/libjpeg-8.dll &&
zip /tmp/$DEVZIP bin/*.exe &&
zip /tmp/$DEVZIP lib/*.dll.a &&
zip -r -D /tmp/$DEVZIP include share

) 2>&1 | tee /devel/src/dieterv/packaging/$THIS.log

(cd /devel && zip /tmp/$DEVZIP src/dieterv/packaging/$THIS.{sh,log}) &&
manifestify /tmp/$RUNZIP /tmp/$DEVZIP

0 comments on commit 6a98141

Please sign in to comment.