libssh2: new package, libssh2 1.6.0

This commit is contained in:
Tom G. Christensen 2016-02-12 20:23:55 +01:00
parent 4bba7eb66d
commit ecd11675f1
4 changed files with 92 additions and 0 deletions

63
libssh2/build.sh Executable file
View File

@ -0,0 +1,63 @@
#!/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=libssh2
version=1.6.0
pkgver=1
source[0]=http://www.libssh2.org/download/$topdir-$version.tar.gz
# If there are no patches, simply comment this
#patch[0]=
# Source function library
. ${BUILDPKG_SCRIPTS}/buildpkg.functions
# Global settings
export CPPFLAGS="-I$prefix/include"
export LDFLAGS="-L$prefix/lib -R$prefix/lib"
configure_args+=(--disable-examples-build --disable-static)
reg prep
prep()
{
generic_prep
}
reg build
build()
{
generic_build
}
reg check
check()
{
generic_check
}
reg install
install()
{
generic_install DESTDIR
doc NEWS README RELEASE-NOTES
}
reg pack
pack()
{
generic_pack
}
reg distclean
distclean()
{
clean distclean
}
###################################################
# No need to look below here
###################################################
build_sh $*

4
libssh2/meta/ChangeLog Normal file
View File

@ -0,0 +1,4 @@
CHANGELOG
---------
* Wed Feb 10 2016 Tom G. Christensen <swpkg@jupiterrise.com> - 1.6.0-1
- Initial package

1
libssh2/meta/depend Normal file
View File

@ -0,0 +1 @@
TGClssh2d libssh2 auto

24
libssh2/meta/pkgdef Normal file
View File

@ -0,0 +1,24 @@
[libssh2]
pkgname="${pkgprefix}lssh2"
name="$topdir - library implementing the SSH2 protocol"
pkgcat="application"
pkgvendor="http://www.libssh2.org/"
pkgdesc="A client-side C library implementing the SSH2 protocol"
pkgver="$pkgver"
files(-,root,bin)
default_docs
$_libdir/*.so.*
[libssh2-devel]
pkgname="${pkgprefix}lssh2d"
name="${topdir}-devel - Development support for libssh2 "
pkgcat="application"
pkgvendor="http://www.libssh2.org/"
pkgdesc="Files needed for developing with libssh2"
pkgver="$pkgver"
files(-,root,bin)
$_includedir
$_libdir/pkgconfig/libssh2.pc
$_libdir/libssh2.so
$_mandir/man3/libssh2*