Permalink
Browse files

add locale2lcid files

  • Loading branch information...
1 parent 0e0ec80 commit 56880d607431e93bb422c2aea9444a141d623722 Keith Stribley committed Jul 29, 2010
Showing with 501 additions and 0 deletions.
  1. +21 −0 mkdeb.sh
  2. +387 −0 src/locale2lcid.hxx
  3. +93 −0 src/test_locale2lcid.cxx
View
@@ -0,0 +1,21 @@
+DEB_DIR=../grooodeb`uname -m`/
+ARCHIVE_DIR=../grooodeb
+PKG_VER=`tail -1 .hgtags | sed "s/.* //"`
+SRC_DIR=`pwd`
+mkdir -p ${ARCHIVE_DIR}
+mkdir -p ${DEB_DIR}
+rm -rf ${DEB_DIR}*
+if test -f ${ARCHIVE_DIR}/openoffice.org-graphite_${PKG_VER}.orig.tar.gz;
+then
+ cp ${ARCHIVE_DIR}/openoffice.org-graphite_${PKG_VER}.orig.tar.gz ${DEB_DIR}
+else
+ hg archive -X debian -X .hgtags -p openoffice.org-graphite_${PKG_VER} -ttgz ${ARCHIVE_DIR}/openoffice.org-graphite_${PKG_VER}.orig.tar.gz
+ cp ${ARCHIVE_DIR}/openoffice.org-graphite_${PKG_VER}.orig.tar.gz ${DEB_DIR}
+fi
+cd ${DEB_DIR}
+tar -zxf openoffice.org-graphite_${PKG_VER}.orig.tar.gz
+cd openoffice.org-graphite_${PKG_VER}
+cp -R ${SRC_DIR}/debian debian
+debuild
+cd ..
+
Oops, something went wrong.

0 comments on commit 56880d6

Please sign in to comment.