mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
46318870b0
MacOSX packages using PackageMaker - renamed support-files/PKG -> support-files/SCO (PKG is used in MacOS X terminology as well) support-files/SCO/INSTALL.sh: mvdir support-files/SCO/compile.sh: mvdir support-files/SCO/doc.sh: mvdir support-files/SCO/mkpkg.sh: mvdir support-files/SCO/patch: mvdir support-files/SCO/pkginfo.ini: mvdir support-files/SCO/postinstall: mvdir support-files/SCO/preinstall: mvdir support-files/SCO/preremove: mvdir support-files/SCO/prototype.ini: mvdir support-files/SCO/version: mvdir support-files/MacOSX/make_mysql_pkg.pl: Rename: support-files/make_mysql_pkg.pl -> support-files/MacOSX/make_mysql_pkg.pl configure.in: - added support-files/MacOSX support-files/Makefile.am: - added MacOSX subdirectory
29 lines
503 B
Bash
Executable file
29 lines
503 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# search & check GNU patch
|
|
PATCH="gpatch"
|
|
$PATCH --version || PATCH="patch"
|
|
$PATCH --version || exit
|
|
|
|
|
|
if /usr/bin/test ! -e PKG/stamp-pre ; then
|
|
grep VERSION configure | head -1 | sed 's/VERSION=//' > ./PKG/version
|
|
touch PKG/stamp-pre
|
|
fi
|
|
|
|
if /usr/bin/test ! -e PKG/stamp-patch ; then
|
|
${PATCH} -p0 < ./PKG/patch
|
|
touch PKG/stamp-patch
|
|
fi
|
|
|
|
if /usr/bin/test ! -e PKG/stamp-compile ; then
|
|
sh ./PKG/compile.sh ujis
|
|
touch PKG/stamp-compile
|
|
|
|
sh ./PKG/doc.sh ujis
|
|
|
|
fi
|
|
|
|
|
|
cd PKG
|
|
sh mkpkg.sh ujis
|