From: DRC Date: Wed, 17 Nov 2010 23:14:53 +0000 (+0000) Subject: Oops. Still need to explicitly make symlinks in this script, because prefix!=/opt... X-Git-Tag: 1.0.90~22 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b8841f1ba20cfbe602bc3d540ba2c54177779735;p=libjpeg-turbo Oops. Still need to explicitly make symlinks in this script, because prefix!=/opt/libjpeg-turbo git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@295 632fc199-4ca6-4c93-a231-07263d6284db --- diff --git a/release/makedpkg b/release/makedpkg index a532793..f565464 100644 --- a/release/makedpkg +++ b/release/makedpkg @@ -58,6 +58,13 @@ makedeb() /sbin/ldconfig -n $TMPDIR/usr/$__LIB if [ ! $SUPPLEMENT = 1 ]; then + if [ "$DEBARCH" = "amd64" ]; then + ln -fs lib $TMPDIR/opt/$DIRNAME/lib64 + else + if [ ! "$__LIB" = "lib32" ]; then + ln -fs lib $TMPDIR/opt/$DIRNAME/lib32 + fi + fi mkdir -p $TMPDIR/usr/include mv $TMPDIR/opt/$DIRNAME/include/turbojpeg.h $TMPDIR/usr/include ln -fs /usr/include/turbojpeg.h $TMPDIR/opt/$DIRNAME/include/