Trying to out-clever ourselves by having autotools generate the deb-control file broke the 32-bit supplementary DEB, so revert to the method we used in LJT 1.0 to generate this file.
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.1.x@674 632fc199-4ca6-4c93-a231-07263d6284db
This commit is contained in:
@@ -18,6 +18,9 @@ based on whether libjpeg v7 or v8 emulation was enabled.
|
||||
fail to compile if the Windows system headers were included before jpeglib.h.
|
||||
This issue was caused by a conflict in the definition of the INT32 type.
|
||||
|
||||
[4] Fixed 32-bit supplementary package for amd64 Debian systems which was
|
||||
broken by enhancements to the packaging system in 1.1.
|
||||
|
||||
|
||||
1.1.1
|
||||
=====
|
||||
|
||||
@@ -255,7 +255,6 @@ AC_CONFIG_HEADERS([jconfig.h])
|
||||
AC_CONFIG_FILES([pkgscripts/libjpeg-turbo.spec:release/libjpeg-turbo.spec.in])
|
||||
AC_CONFIG_FILES([pkgscripts/makecygwinpkg:release/makecygwinpkg.in])
|
||||
AC_CONFIG_FILES([pkgscripts/makedpkg:release/makedpkg.in])
|
||||
AC_CONFIG_FILES([pkgscripts/deb-control:release/deb-control.in])
|
||||
AC_CONFIG_FILES([pkgscripts/makemacpkg:release/makemacpkg.in])
|
||||
AC_CONFIG_FILES([pkgscripts/Description.plist:release/Description.plist.in])
|
||||
AC_CONFIG_FILES([pkgscripts/Info.plist:release/Info.plist.in])
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
Package: @PACKAGE_NAME@
|
||||
Version: @VERSION@-@BUILD@
|
||||
Package: {__PKGNAME}
|
||||
Version: {__VERSION}-{__BUILD}
|
||||
Section: misc
|
||||
Priority: optional
|
||||
Architecture: @DEBARCH@
|
||||
Architecture: {__ARCH}
|
||||
Essential: no
|
||||
Maintainer: The libjpeg-turbo Project [http://www.libjpeg-turbo.org]
|
||||
Description: A SIMD-accelerated JPEG codec which provides both the libjpeg and TurboJPEG APIs
|
||||
@@ -32,7 +32,9 @@ makedeb()
|
||||
rm -f $PACKAGE_NAME\_$VERSION\_$DEBARCH.deb
|
||||
TMPDIR=`mktemp -d /tmp/$PACKAGE_NAME-build.XXXXXX`
|
||||
mkdir $TMPDIR/DEBIAN
|
||||
cp pkgscripts/deb-control $TMPDIR/DEBIAN/control
|
||||
(cat $SRCDIR/release/deb-control.tmpl | sed s/{__PKGNAME}/$PACKAGE_NAME/g \
|
||||
| sed s/{__VERSION}/$VERSION/g | sed s/{__BUILD}/$BUILD/g \
|
||||
| sed s/{__ARCH}/$DEBARCH/g > $TMPDIR/DEBIAN/control)
|
||||
|
||||
make install prefix=$TMPDIR/opt/$DIRNAME libdir=$TMPDIR/opt/$DIRNAME/$__LIB mandir=$TMPDIR/opt/$DIRNAME/man
|
||||
rm -f $TMPDIR/opt/$DIRNAME/$__LIB/*.la
|
||||
|
||||
Reference in New Issue
Block a user