tcl: 64bits support, man symlinks, system tzdata.

--HG--
extra : convert_revision : 131449599fc764619c721622a662ae5116e86b95
This commit is contained in:
Juan RP 2010-04-22 09:18:09 +02:00
parent 70f7b0aaf4
commit 82b471ce60
2 changed files with 10 additions and 7 deletions

View file

@ -5,15 +5,16 @@ long_desc="${long_desc}
This package contains files for development, headers, static libs, etc." This package contains files for development, headers, static libs, etc."
revision=1
Add_dependency run glibc-devel Add_dependency run glibc-devel
Add_dependency run tcl Add_dependency run tcl
do_install() do_install()
{ {
mkdir -p ${DESTDIR}/usr/lib ${DESTDIR}/usr/share/man/man3 mkdir -p ${DESTDIR}/usr/lib ${DESTDIR}/usr/share/man
mv ${SRCPKGDESTDIR}/usr/lib/*.a ${DESTDIR}/usr/lib mv ${SRCPKGDESTDIR}/usr/lib/*.a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}//usr/lib/tclConfig.sh ${DESTDIR}/usr/lib mv ${SRCPKGDESTDIR}//usr/lib/tclConfig.sh ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/share/man/mann/* ${DESTDIR}/usr/share/man/man3 mv ${SRCPKGDESTDIR}/usr/share/man/man{3,n} ${DESTDIR}/usr/share/man
mv ${SRCPKGDESTDIR}/usr/share/man/man3/* ${DESTDIR}/usr/share/man/man3
} }

View file

@ -1,11 +1,15 @@
# Template file for 'tcl' # Template file for 'tcl'
pkgname=tcl pkgname=tcl
version=8.5.8 version=8.5.8
revision=1
wrksrc="tcl${version}" wrksrc="tcl${version}"
distfiles="${SOURCEFORGE_SITE}/$pkgname/${pkgname}${version}-src.tar.gz" distfiles="${SOURCEFORGE_SITE}/$pkgname/${pkgname}${version}-src.tar.gz"
build_style=gnu_configure build_style=gnu_configure
configure_script="./unix/configure" configure_script="./unix/configure"
configure_args="--enable-threads" configure_args="--enable-threads --without-tzdata --enable-man-symlinks"
if [ "${xbps_machine}" = "x86_64" ]; then
configure_args="${configure_args} --enable-64bits"
fi
make_install_target="INSTALL_ROOT=$XBPS_DESTDIR/$pkgname-$version make_install_target="INSTALL_ROOT=$XBPS_DESTDIR/$pkgname-$version
install install-private-headers" install install-private-headers"
short_desc="The TCL scripting language" short_desc="The TCL scripting language"
@ -21,8 +25,6 @@ Add_dependency run glibc
post_install() post_install()
{ {
install -d ${DESTDIR}/usr/share/man/man1
mv ${DESTDIR}/usr/share/man/mann/tclsh.n \
${DESTDIR}/usr/share/man/man1/tclsh.1
cd ${DESTDIR}/usr/bin && ln -sf tclsh8.5 tclsh cd ${DESTDIR}/usr/bin && ln -sf tclsh8.5 tclsh
chmod 755 ${DESTDIR}/usr/lib/libtcl*.so*
} }