mirror of
https://github.com/ivabus/pantry
synced 2024-11-27 02:35:08 +03:00
d7adf09a43
* update(slirp) * update(poppler-data) * update(doxygen) * update(xcb) * update(sm) * update(xdmcp) * update(ice) * update(util-macros) * update(xtrans) * update(xmu) * update(xt) * update(xau) * update(xrender) * update(x11) * update(xcb-proto) * update(xpm) * update(xaw) * update(xorg-protocol) * update(exts) * update(lame) * update(nmap) * update(cairo) * update(unicode) * update(gts) * update(vim) * update(libtiff) * update(lua) * comment(bpb) * update(giflib) * update(gdk-pixbuf) * update(gobj-intro) * update(libcap2) * update(gnuplot) * update(dav1d) * update(wumpus) * update(librist) * update(subversion) * comment(jbig2dec) * update(moreutils) * update(eigen) * update(ogg) * update(musl) * update(libtool) * update(isl) * update(coreutils) * update(wget) * update(gmp) * update(libiconv) * update(stow) * update(sed) * update(gperf) * update(libunistring) * update(grep) * update(patch) * update(tar) * update(autoconf) * update(libgpg-error) * update(automake) * update(libksba) * update(npth) * update(libgcrypt) * update(libidn) * update(libassuan) * update(gnupg) * update(libtasn1) * update(ncdu) * update(freexl) * update(nasm) * update(ffmpeg) * update(libsodium) * update(mpg123) * update(freetype) * update(dnsmasq) * update(postgres) * update(xz) * update(docutils) * update(aom) * update(libssh) * update(gitlab-cli) * update(watch) * update(tree) * update(c-ares) * update(mpdecimal) * update(lzo) * update(graphviz) * update(nano) * update(yasm) * update(expect) * update(pcre) * update(file) * update(shared-mime-info) * use `gitlab:` builtin
52 lines
1 KiB
YAML
52 lines
1 KiB
YAML
distributable:
|
|
url: https://www.libssh.org/files/{{ version.major }}.{{ version.minor }}/libssh-{{ version }}.tar.xz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
url: https://git.libssh.org/projects/libssh.git/refs/tags
|
|
match: /libssh-\d+\.\d+\.\d+\.tar\.gz/
|
|
strip:
|
|
- /libssh-/
|
|
- /.tar.gz/
|
|
|
|
dependencies:
|
|
openssl.org: ^1.1
|
|
zlib.net: ^1
|
|
|
|
build:
|
|
dependencies:
|
|
tea.xyz/gx/make: '*'
|
|
tea.xyz/gx/cc: '*'
|
|
cmake.org: ^3
|
|
working-directory: build
|
|
script: |
|
|
cmake .. $ARGS
|
|
make install
|
|
mv src/libssh.a {{ prefix }}/lib
|
|
env:
|
|
ARGS:
|
|
- -DBUILD_STATIC_LIB=ON
|
|
- -DWITH_SYMBOL_VERSIONING=OFF
|
|
- -DCMAKE_BUILD_TYPE=Release
|
|
- -DCMAKE_INSTALL_PREFIX={{prefix}}
|
|
|
|
test:
|
|
dependencies:
|
|
tea.xyz/gx/cc: '*'
|
|
script: |
|
|
mv $FIXTURE test.c
|
|
gcc test.c -lssh -o test
|
|
./test
|
|
fixture: |
|
|
#include <libssh/libssh.h>
|
|
#include <stdlib.h>
|
|
int main()
|
|
{
|
|
ssh_session my_ssh_session = ssh_new();
|
|
if (my_ssh_session == NULL)
|
|
exit(-1);
|
|
ssh_free(my_ssh_session);
|
|
return 0;
|
|
}
|
|
|
|
|