mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
libproxy.github.io/libproxy (#3513)
* new file: projects/libproxy.github.io/libproxy/package.yml * display-name * curl * maybe * llvm * wip * wip * add gcc * llvm * include -lm on linux * maybe it's duktape that needs libm --------- Co-authored-by: Jacob Heider <jacob@pkgx.dev>
This commit is contained in:
parent
97ed30fa21
commit
f52badaf80
2 changed files with 45 additions and 2 deletions
|
@ -10,11 +10,13 @@ build:
|
|||
- mkdir -p {{prefix}}/bin
|
||||
- install duk {{prefix}}/bin/
|
||||
env:
|
||||
INSTALL_PREFIX: "{{prefix}}"
|
||||
INSTALL_PREFIX: '{{prefix}}'
|
||||
linux:
|
||||
LDFLAGS: '$LDFLAGS -lm'
|
||||
provides:
|
||||
- bin/duk
|
||||
test:
|
||||
script:
|
||||
- duk test.js | grep "Hello World!"
|
||||
- cc test.c -o test -lduktape -lm
|
||||
- cc test.c -o test -lduktape
|
||||
- ./test
|
||||
|
|
41
projects/libproxy.github.io/libproxy/package.yml
Normal file
41
projects/libproxy.github.io/libproxy/package.yml
Normal file
|
@ -0,0 +1,41 @@
|
|||
distributable:
|
||||
url: https://github.com/libproxy/libproxy/archive/{{version}}.tar.gz
|
||||
strip-components: 1
|
||||
versions:
|
||||
github: libproxy/libproxy
|
||||
display-name: libproxy
|
||||
dependencies:
|
||||
duktape.org: '*'
|
||||
gnome.org/glib: '*'
|
||||
curl.se: '*'
|
||||
linux:
|
||||
freedesktop.org/dbus: '*'
|
||||
llvm.org: '*'
|
||||
build:
|
||||
dependencies:
|
||||
gnome.org/gobject-introspection: '*'
|
||||
gnome.org/gsettings-desktop-schemas: '*'
|
||||
mesonbuild.com: '*'
|
||||
ninja-build.org: '*'
|
||||
freedesktop.org/pkg-config: '*'
|
||||
gnome.org/vala: '*'
|
||||
script:
|
||||
- meson setup build $MESON_ARGS
|
||||
- meson compile -C build --verbose
|
||||
- meson install -C build
|
||||
env:
|
||||
MESON_ARGS:
|
||||
- --prefix="{{prefix}}"
|
||||
- --libdir="{{prefix}}/lib"
|
||||
- --buildtype=release
|
||||
- --wrap-mode=nofallback
|
||||
- -Ddocs=false
|
||||
linux:
|
||||
LD: clang
|
||||
CC: clang
|
||||
CXX: clang++
|
||||
provides:
|
||||
- bin/proxy
|
||||
test:
|
||||
script:
|
||||
- proxy https://tea.xyz/ | grep "direct://"
|
Loading…
Reference in a new issue