Added tcl-8.5.8 build template.
--HG-- extra : convert_revision : a4edaac9f3b71e3b5c977fdcb2ae0dcee7a03a06
This commit is contained in:
parent
d629036f32
commit
7c84ea2bcd
4 changed files with 50 additions and 0 deletions
1
srcpkgs/tcl-devel
Symbolic link
1
srcpkgs/tcl-devel
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
tcl
|
2
srcpkgs/tcl/depends
Normal file
2
srcpkgs/tcl/depends
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
abi_depends=">=8.5.8"
|
||||||
|
api_depends="${abi_depends}"
|
19
srcpkgs/tcl/tcl-devel.template
Normal file
19
srcpkgs/tcl/tcl-devel.template
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# Template file for 'tcl-devel'.
|
||||||
|
#
|
||||||
|
short_desc="TCL development files"
|
||||||
|
long_desc="${long_desc}
|
||||||
|
|
||||||
|
This package contains files for development, headers, static libs, etc."
|
||||||
|
|
||||||
|
Add_dependency run glibc-devel
|
||||||
|
Add_dependency run tcl
|
||||||
|
|
||||||
|
do_install()
|
||||||
|
{
|
||||||
|
mkdir -p ${DESTDIR}/usr/lib ${DESTDIR}/usr/share/man/man3
|
||||||
|
mv ${SRCPKGDESTDIR}/usr/lib/*.a ${DESTDIR}/usr/lib
|
||||||
|
mv ${SRCPKGDESTDIR}//usr/lib/tclConfig.sh ${DESTDIR}/usr/lib
|
||||||
|
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
||||||
|
mv ${SRCPKGDESTDIR}/usr/share/man/mann/* ${DESTDIR}/usr/share/man/man3
|
||||||
|
mv ${SRCPKGDESTDIR}/usr/share/man/man3/* ${DESTDIR}/usr/share/man/man3
|
||||||
|
}
|
28
srcpkgs/tcl/template
Normal file
28
srcpkgs/tcl/template
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
# Template file for 'tcl'
|
||||||
|
pkgname=tcl
|
||||||
|
version=8.5.8
|
||||||
|
wrksrc="tcl${version}"
|
||||||
|
distfiles="${SOURCEFORGE_SITE}/$pkgname/${pkgname}${version}-src.tar.gz"
|
||||||
|
build_style=gnu_configure
|
||||||
|
configure_script="./unix/configure"
|
||||||
|
configure_args="--enable-threads"
|
||||||
|
make_install_target="INSTALL_ROOT=$XBPS_DESTDIR/$pkgname-$version
|
||||||
|
install install-private-headers"
|
||||||
|
short_desc="The TCL scripting language"
|
||||||
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
checksum=6b090c1024038d0381e1ccfbd6d5c0f0e6ef205269ceb9d28bd7bd7ac5bbf4a7
|
||||||
|
long_desc="
|
||||||
|
This package contains Tcl, John Osterhout's Tool Command Language, an
|
||||||
|
exceedingly simple language great for general scripting and for
|
||||||
|
embedding in other programs."
|
||||||
|
|
||||||
|
subpackages="$pkgname-devel"
|
||||||
|
Add_dependency run glibc
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
Loading…
Reference in a new issue