libtool: new package, libtool 2.4.6

This commit is contained in:
Tom G. Christensen 2016-03-05 17:31:08 +01:00
parent a588be99e7
commit 0e33e0f875
4 changed files with 120 additions and 0 deletions

65
libtool/build.sh Executable file
View File

@ -0,0 +1,65 @@
#!/bin/bash
# This is a buildpkg build.sh script
# build.sh helper functions
. ${BUILDPKG_SCRIPTS}/build.sh.functions
#
###########################################################
# Check the following 4 variables before running the script
topdir=libtool
version=2.4.6
pkgver=1
source[0]=ftp://ftp.heanet.ie/pub/gnu/$topdir/$topdir-$version.tar.xz
# If there are no patches, simply comment this
#patch[0]=
# Source function library
. ${BUILDPKG_SCRIPTS}/buildpkg.functions
reg prep
prep()
{
generic_prep
}
reg build
build()
{
generic_build
}
reg check
check()
{
# Force an RPATH. Half the testsuite fails otherwise because the binaries
# it builds cannot find libgcc_s.so.1
export LD_OPTIONS="-R$prefix/lib"
generic_check
}
reg install
install()
{
generic_install DESTDIR
doc AUTHORS COPYING
# Re-arrange docs for ltdl
${__mkdir} -p ${stagedir}${prefix}/$_docdir/libtool-ltdl-$version
${__cp} -p ${stagedir}${prefix}/$_sharedir/libtool/{README,COPYING.LIB} \
${stagedir}${prefix}/$_docdir/libtool-ltdl-$version
}
reg pack
pack()
{
generic_pack
}
reg distclean
distclean()
{
clean distclean
}
###################################################
# No need to look below here
###################################################
build_sh $*

4
libtool/meta/ChangeLog Normal file
View File

@ -0,0 +1,4 @@
CHANGELOG
---------
* Sat Mar 05 2016 Tom G. Christensen <swpkg@jupiterrise.com> - 2.4.6-1
- First package

1
libtool/meta/depend Normal file
View File

@ -0,0 +1 @@
TGCltdld libtool-ltdl auto

50
libtool/meta/pkgdef Normal file
View File

@ -0,0 +1,50 @@
[libtool]
pkgname="${pkgprefix}lt"
name="$topdir - The GNU Portable Library Tool"
pkgcat="application"
pkgvendor="http://www.gnu.org/software/libtool/"
pkgdesc="Libtool provides a consistent, portable interface which simplifies the process of using shared libraries"
pkgver="$pkgver"
files(-,root,bin)
default_docs
$_bindir/libtool
$_bindir/libtoolize
$_sharedir/aclocal/*.m4
$_sharedir/libtool/build-aux
$_infodir/libtool.info*
$_mandir/man1/libtool*
[libtool-ltdl]
pkgname="${pkgprefix}ltdl"
name="${topdir}-ltdl - The GNU Libtool Dynamic Module Loader"
pkgcat="application"
pkgvendor="http://www.gnu.org/software/libtool/"
pkgdesc="a library that provides a consistent, portable interface which simplifies the process of using dynamic modules"
pkgver="$pkgver"
files(-,root,bin)
default_docs
$_libdir/libltdl.so.7*
[libtool-ltdl-devel]
pkgname="${pkgprefix}ltdld"
name="${topdir}-ltdl-devel - Development support for libtool-ltdl"
pkgcat="application"
pkgvendor="http://www.gnu.org/software/libtool/"
pkgdesc="Files needed for developing with libtool-ltdl"
pkgver="$pkgver"
files(-,root,bin)
$_libdir/libltdl.so
$_libdir/libltdl.a
$_includedir/ltdl.h
$_includedir/libltdl
$_sharedir/libtool/libltdl
$_sharedir/libtool/loaders
$_sharedir/libtool/ltdl.*
$_sharedir/libtool/lt_*.c
$_sharedir/libtool/slist.c
$_sharedir/libtool/Makefile*
$_sharedir/libtool/config*
$_sharedir/libtool/aclocal.m4
$_sharedir/libtool/README
$_sharedir/libtool/COPYING.LIB