diff --git a/projects/duktape.org/package.yml b/projects/duktape.org/package.yml index db0984cb..cf6f8af0 100644 --- a/projects/duktape.org/package.yml +++ b/projects/duktape.org/package.yml @@ -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 diff --git a/projects/libproxy.github.io/libproxy/package.yml b/projects/libproxy.github.io/libproxy/package.yml new file mode 100644 index 00000000..9995600d --- /dev/null +++ b/projects/libproxy.github.io/libproxy/package.yml @@ -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://"