diff options
Diffstat (limited to 'support-files/PKG/INSTALL.sh')
-rwxr-xr-x | support-files/PKG/INSTALL.sh | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/support-files/PKG/INSTALL.sh b/support-files/PKG/INSTALL.sh new file mode 100755 index 00000000000..979f33f3f06 --- /dev/null +++ b/support-files/PKG/INSTALL.sh @@ -0,0 +1,29 @@ +#!/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 |