mirror of
https://github.com/simtactics/mysimulation.git
synced 2025-08-25 14:17:21 -04:00
clean up, added the deps to the repo since the version matters
This commit is contained in:
parent
88430a890a
commit
51a2a68f05
364 changed files with 155261 additions and 626 deletions
36
library/deps/libjpeg-turbo/pkgscripts/makecygwinpkg
Normal file
36
library/deps/libjpeg-turbo/pkgscripts/makecygwinpkg
Normal file
|
@ -0,0 +1,36 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -u
|
||||
set -e
|
||||
trap onexit INT
|
||||
trap onexit TERM
|
||||
trap onexit EXIT
|
||||
|
||||
TMPDIR=
|
||||
|
||||
onexit()
|
||||
{
|
||||
if [ ! "$TMPDIR" = "" ]; then
|
||||
rm -rf $TMPDIR
|
||||
fi
|
||||
}
|
||||
|
||||
PACKAGE_NAME=libjpeg-turbo
|
||||
VERSION=1.2.0
|
||||
SRCDIR=/c/Users/Drew/Documents/Niotso hg/trunk/Libraries/FileHandler/libjpeg-turbo/pkgscripts/..
|
||||
|
||||
umask 022
|
||||
rm -f $PACKAGE_NAME-$VERSION-cygwin.tar.bz2
|
||||
TMPDIR=`mktemp -d /tmp/ljtbuild.XXXXXX`
|
||||
__PWD=`pwd`
|
||||
make install DESTDIR=$TMPDIR/pkg mandir=/opt/$PACKAGE_NAME/man \
|
||||
docdir=/usr/share/doc/$PACKAGE_NAME-$VERSION \
|
||||
exampledir=/usr/share/doc/$PACKAGE_NAME-$VERSION
|
||||
rm $TMPDIR/pkg/opt/$PACKAGE_NAME/lib/*.la
|
||||
ln -fs lib $TMPDIR/pkg/opt/$PACKAGE_NAME/lib32
|
||||
cd $TMPDIR/pkg
|
||||
tar cfj ../$PACKAGE_NAME-$VERSION-cygwin.tar.bz2 *
|
||||
cd $__PWD
|
||||
mv $TMPDIR/*.tar.bz2 .
|
||||
|
||||
exit 0
|
Loading…
Add table
Add a link
Reference in a new issue