-
Notifications
You must be signed in to change notification settings - Fork 217
Expand file tree
/
Copy pathpkg.yaml
More file actions
35 lines (32 loc) · 1016 Bytes
/
pkg.yaml
File metadata and controls
35 lines (32 loc) · 1016 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: libtirpc
variant: scratch
shell: /bin/bash
install:
- build-base
- bash
- autoconf
dependencies:
- image: cgr.dev/chainguard/wolfi-base@{{ .WOLFI_BASE_REF }}
steps:
- sources:
- url: https://src.fedoraproject.org/lookaside/extras/libtirpc/libtirpc-{{ .LIBTIRPC_VERSION | replace "-" "." }}.tar.bz2/sha512/df0781a74ff9ded2d3c4f5eb7e05496b9f58eac8060c02c68331dc14c4a00304dcd19f46836f5756fe0d9d27095fd463d42dd696fcdff891516711b7d63deabe/libtirpc-{{ .LIBTIRPC_VERSION | replace "-" "." }}.tar.bz2
destination: libtirpc.tar.bz2
sha256: {{ .LIBTIRPC_SHA256 }}
sha512: {{ .LIBTIRPC_SHA512 }}
prepare:
- |
tar -xf libtirpc.tar.bz2 --strip-components=1
./configure \
--prefix=/usr/local/glibc \
--disable-gssapi
build:
- |
make -j $(nproc)
install:
- |
mkdir -p /rootfs
make install DESTDIR=/rootfs
rm -rf /rootfs/usr/local/share/man
finalize:
- from: /rootfs
to: /rootfs