-
Notifications
You must be signed in to change notification settings - Fork 290
/
Copy pathlibmcrypt.yaml
74 lines (63 loc) · 1.85 KB
/
libmcrypt.yaml
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# cribbed from: https://git.alpinelinux.org/aports/tree/community/libmcrypt/APKBUILD
package:
name: libmcrypt
version: 2.5.8
epoch: 0
description: "A library which provides a uniform interface to several symmetric encryption algorithms"
copyright:
- license: LGPL-2.1-or-later
environment:
contents:
packages:
- autoconf
- automake
- binutils
- build-base
- busybox
- ca-certificates-bundle
- cmake
- gcc
- libtool
pipeline:
- uses: fetch
with:
uri: https://downloads.sourceforge.net/mcrypt/libmcrypt-${{package.version}}.tar.bz2
expected-sha512: 6c05c42767401d66af67b0922b207d17cdb1c3efdbfdfb5b0c2e651821c48a8a6c6749debfa0206091b8a801f538fabe9f7d95ebc86d82c6b84c8001031d50fe
- uses: patch
with:
patches: fix-enigma.patch
- runs: |
# There are two awful hacks here that I can't figure out how to fix:
# 1. For some reason this file does not get copied to the right place
# manually copy it.
mkdir -p libltdl/\$with_auxdir
cp ltmain.sh libltdl/\$with_auxdir/
autoreconf -v -i --force
# 2. These are undefined and they break the configure.
sed -i -e '/AC_REQUIRE/d' configure.in
sed -i -e '/_LT_CONFIG_LTDL_DIR/d' configure.in
- name: Configure
runs: |
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--mandir=/usr/share/man \
--disable-posix-threads
- uses: autoconf/make
- uses: autoconf/make-install
- uses: strip
subpackages:
- name: "libmcrypt-dev"
description: "headers for libmcrypt"
pipeline:
- uses: split/dev
- name: "libmcrypt-doc"
description: "libmcrypt manpages"
pipeline:
- uses: split/manpages
# https://release-monitoring.org/project/10765/
update:
enabled: true
release-monitor:
identifier: 10765