mirror of
https://github.com/simtactics/niotso.git
synced 2025-07-15 10:36:42 -04:00
work in progress, cleaned up the directories and split them up into folder which make more sense, Still need to compile libvitaboy and all the tools
This commit is contained in:
parent
66ce473514
commit
948bd8474c
1786 changed files with 571812 additions and 15332 deletions
36
deps/libjpeg-turbo/pkgscripts/makecygwinpkg
vendored
Normal file
36
deps/libjpeg-turbo/pkgscripts/makecygwinpkg
vendored
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