diff options
author | Leah Neukirchen <leah@vuxu.org> | 2020-02-05 12:20:49 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2020-02-05 12:21:36 +0100 |
commit | 2f6f889a341c6c7bb3e9c8888fa654b060e78d2e (patch) | |
tree | 6270c83cdf840866f4c5564670c43343a094cd8c /def | |
parent | 8bb6e5ed345a3778c367365e416d629b4f29cca6 (diff) | |
download | mewix-master.tar.gz mewix-master.tar.xz mewix-master.zip |
Diffstat (limited to 'def')
-rw-r--r-- | def/a/s6-update-symlinks | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/def/a/s6-update-symlinks b/def/a/s6-update-symlinks new file mode 100644 index 0000000..9ea7500 --- /dev/null +++ b/def/a/s6-update-symlinks @@ -0,0 +1,23 @@ +pkgname=s6-update-symlinks +version=2.2.2.1 +distfiles="https://skarnet.org/software/s6-portable-utils/s6-portable-utils-${version}.tar.gz + https://skarnet.org/software/skalibs/skalibs-2.9.1.0.tar.gz +" + +do_configure() { + : +} +do_build() { + ( + cd ../skalibs-* + ./configure + make + ) + + ${CC} -static -o s6-update-symlinks src/skaembutils/s6-update-symlinks.c \ + ${CFLAGS} -I ../skalibs-*/src/include ../skalibs-2.9.1.0/libskarnet.a.xyzzy +} +do_install() { + mkdir -p ${DESTDIR}/usr/bin + cp s6-update-symlinks ${DESTDIR}/usr/bin +} |