For consistency, allow the name of the Mac and Cygwin packages to be overridden as well.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@953 632fc199-4ca6-4c93-a231-07263d6284db
This commit is contained in:
DRC
2013-04-24 23:39:37 +00:00
parent d7a642b571
commit 4578953843
3 changed files with 4 additions and 4 deletions

View File

@@ -15,7 +15,7 @@ onexit()
fi fi
} }
PACKAGE_NAME=@PACKAGE_NAME@ PACKAGE_NAME=@PKGNAME@
VERSION=@VERSION@ VERSION=@VERSION@
SRCDIR=@abs_top_srcdir@ SRCDIR=@abs_top_srcdir@

View File

@@ -21,7 +21,7 @@ usage()
exit 1 exit 1
} }
PACKAGE_NAME=@PACKAGE_NAME@ PACKAGE_NAME=@PKGNAME@
VERSION=@VERSION@ VERSION=@VERSION@
BUILD=@BUILD@ BUILD=@BUILD@
SRCDIR=@abs_top_srcdir@ SRCDIR=@abs_top_srcdir@

View File

@@ -1,4 +1,4 @@
# Copyright (C)2009-2011 D. R. Commander. All Rights Reserved. # Copyright (C)2009-2011, 2013 D. R. Commander. All Rights Reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met: # modification, are permitted provided that the following conditions are met:
@@ -31,7 +31,7 @@ if [ ! "`id -u`" = "0" ]; then
exit -1 exit -1
fi fi
PACKAGE=@PACKAGE_NAME@ PACKAGE=@PKGNAME@
MACPACKAGE=com.$PACKAGE.$PACKAGE MACPACKAGE=com.$PACKAGE.$PACKAGE
RECEIPT=/Library/Receipts/$PACKAGE.pkg RECEIPT=/Library/Receipts/$PACKAGE.pkg