diff --git a/gettext017/build.sh b/gettext017/build.sh new file mode 100755 index 0000000..abbee8f --- /dev/null +++ b/gettext017/build.sh @@ -0,0 +1,66 @@ +#!/bin/bash +# +# This is a generic build.sh script +# It can be used nearly unmodified with many packages +# +# build.sh helper functions +. ${BUILDPKG_BASE}/scripts/build.sh.functions +# +########################################################### +# Check the following 4 variables before running the script +topdir=gettext +version=0.17 +pkgver=1 +source[0]=$topdir-$version.tar.gz +# If there are no patches, simply comment this +#patch[0]= + +# Source function library +. ${BUILDPKG_BASE}/scripts/buildpkg.functions + +# Global settings +export CPPFLAGS="-I$prefix/include" +export LDFLAGS="-L$prefix/lib -R$prefix/lib" +configure_args="$configure_args --with-libiconv-prefix=$prefix --disable-java --disable-openmp" + +reg prep +prep() +{ + generic_prep +} + +reg build +build() +{ + generic_build +} + +reg check +check() +{ + generic_check +} + +reg install +install() +{ + generic_install DESTDIR + doc NEWS README COPYING +} + +reg pack +pack() +{ + generic_pack +} + +reg distclean +distclean() +{ + clean distclean +} + +################################################### +# No need to look below here +################################################### +build_sh $* diff --git a/gettext017/meta/depend b/gettext017/meta/depend new file mode 100644 index 0000000..8ac2be0 --- /dev/null +++ b/gettext017/meta/depend @@ -0,0 +1 @@ +TGCgtextd gettext auto diff --git a/gettext017/meta/pkgdef b/gettext017/meta/pkgdef new file mode 100644 index 0000000..2ca7e8d --- /dev/null +++ b/gettext017/meta/pkgdef @@ -0,0 +1,67 @@ +[gettext] +pkgname="${pkgprefix}gtext" +name="gettext - GNU gettext" +pkgcat="system" +pkgvendor="http://directory.fsf.org/gettext.html" +pkgdesc="Tools to produce multi-lingual messages" +pkgver="$pkgver" +files(-,root,bin) +default_docs +$_bindir/envsubst +$_bindir/ngettext +$_bindir/gettext +$_bindir/gettext.sh +$_libdir/libintl.so.8* +$_libdir/libasprintf.so.0* +$_mandir/man1/envsubst.1* +$_mandir/man1/ngettext.1* +$_mandir/man1/gettext.1* +$_sharedir/locale/*/LC_MESSAGES/gettext-runtime.mo +$_sharedir/locale/locale.alias +$_sharedir/doc/gettext/envsubst.1.html +$_sharedir/doc/gettext/ngettext.1.html +$_sharedir/doc/gettext/gettext.1.html + +[gettext-devel] +pkgname="${pkgprefix}gtextd" +name="gettext-devel - GNU gettext development support" +pkgcat="system" +pkgvendor="http://directory.fsf.org/gettext.html" +pkgdesc="Tools to produce multi-lingual messages" +pkgver="$pkgver" +files(-,root,bin) +$_bindir/autopoint +$_bindir/gettextize +$_bindir/msg* +$_bindir/recode* +$_bindir/xgettext +$_includedir +$_libdir/*.a +$_libdir/libgettext*.so* +$_libdir/libasprintf.so +$_libdir/libintl.so +$_libdir/gettext +$_mandir/man1/msg*.1* +$_mandir/man1/gettextize.1* +$_mandir/man1/autopoint.1* +$_mandir/man1/recode*.1* +$_mandir/man1/xgettext.1* +$_mandir/man3 +$_sharedir/aclocal +$_infodir +$_sharedir/locale/*/LC_MESSAGES/gettext-tools.mo +$_sharedir/doc/gettext/*.3.html +$_sharedir/doc/gettext/msg*.1.html +$_sharedir/doc/gettext/autopoint.1.html +$_sharedir/doc/gettext/gettextize.1.html +$_sharedir/doc/gettext/xgettext.1.html +$_sharedir/doc/gettext/recode*.1.html +$_sharedir/doc/gettext/gettext_*.html +$_sharedir/doc/gettext/examples +$_sharedir/doc/gettext/csharpdoc +$_sharedir/doc/gettext/javadoc2 +$_sharedir/doc/gettext/FAQ.html +$_sharedir/doc/gettext/tutorial.html +$_sharedir/doc/libasprintf +$_sharedir/gettext + diff --git a/gettext017/meta/relnotes b/gettext017/meta/relnotes new file mode 100644 index 0000000..bd83629 --- /dev/null +++ b/gettext017/meta/relnotes @@ -0,0 +1,27 @@ +PACKAGE DETAILS +--------------- +Name: %%PKGNAME%% +Version: %%SOURCE_AND_VER%% +Vendor: %%VENDOR%% +Packager: %%PKGEDBY%% + +Source (sha1sum): +%%SOURCE_SHA1SUM%% + +BUILD DETAILS +------------- +Compiler: +%%COMPILER%% + +Environment: +%%ENVIRONMENT%% + +Configure: +%%CONFIGURE%% + +KNOWN DEPENDENCIES +------------------ +%%DEPENDENCIES%% + +ERRORS/MISCELLANEOUS +--------------------