Skip to content

Commit

Permalink
Merge pull request #11046 from imjasonh/curl-libpsl
Browse files Browse the repository at this point in the history
curl: build with libpsl
  • Loading branch information
imjasonh authored Jan 11, 2024
2 parents 8f5856d + 2115864 commit e974bcb
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 2 deletions.
7 changes: 5 additions & 2 deletions curl.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: curl
version: 8.5.0
epoch: 0
epoch: 1
description: "URL retrieval utility and library"
copyright:
- license: MIT
Expand All @@ -13,6 +13,7 @@ environment:
- build-base
- busybox
- ca-certificates-bundle
- libpsl-dev
- nghttp2-dev
- openssl-dev
- wolfi-base
Expand All @@ -26,6 +27,7 @@ pipeline:

- uses: autoconf/configure
with:
# https://everything.curl.dev/build/deps#libpsl
opts: |
--enable-ipv6 \
--enable-unix-sockets \
Expand All @@ -34,7 +36,8 @@ pipeline:
--with-nghttp2 \
--with-pic \
--disable-ldap \
--without-libssh2
--without-libssh2 \
--with-libpsl
- uses: autoconf/make

Expand Down
66 changes: 66 additions & 0 deletions libpsl.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# Generated from https://git.alpinelinux.org/aports/plain/main/libpsl/APKBUILD
package:
name: libpsl
version: 0.21.2
epoch: 0
description: C library for the Publix Suffix List
copyright:
- license: MIT

environment:
contents:
packages:
- autoconf
- automake
- build-base
- busybox
- ca-certificates-bundle
- libidn2-dev
- libunistring-dev
- meson
- python3

pipeline:
- uses: fetch
with:
expected-sha256: e35991b6e17001afa2c0ca3b10c357650602b92596209b7492802f3768a6285f
uri: https://github.com/rockdaboot/libpsl/releases/download/${{package.version}}/libpsl-${{package.version}}.tar.gz

- uses: autoconf/configure

- uses: autoconf/make

- uses: autoconf/make-install

- uses: strip

subpackages:
- name: libpsl-static
pipeline:
- uses: split/static
description: libpsl static

- name: libpsl-dev
pipeline:
- uses: split/dev
dependencies:
runtime:
- libpsl
description: libpsl dev

- name: libpsl-doc
pipeline:
- uses: split/manpages
description: libpsl manpages

- name: libpsl-utils
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/usr
mv ${{targets.destdir}}/usr/bin ${{targets.subpkgdir}}/usr/
description: libpsl utils

update:
enabled: true
release-monitor:
identifier: 7305

0 comments on commit e974bcb

Please sign in to comment.