From cda4cde397b5bb2f96197e153ce58a955fcd4fd7 Mon Sep 17 00:00:00 2001 From: git-bruh Date: Fri, 30 Sep 2022 13:37:16 +0530 Subject: [PATCH] mdevd: unbundle skalibs --- extra/mdevd/build | 19 +------------------ extra/mdevd/checksums | 1 - extra/mdevd/depends | 1 + extra/mdevd/sources | 1 - extra/skalibs/build | 8 ++++++++ extra/skalibs/checksums | 1 + extra/skalibs/sources | 1 + extra/skalibs/version | 1 + 8 files changed, 13 insertions(+), 20 deletions(-) create mode 100644 extra/mdevd/depends create mode 100755 extra/skalibs/build create mode 100644 extra/skalibs/checksums create mode 100644 extra/skalibs/sources create mode 100644 extra/skalibs/version diff --git a/extra/mdevd/build b/extra/mdevd/build index 8715bede..b8e300ed 100755 --- a/extra/mdevd/build +++ b/extra/mdevd/build @@ -1,25 +1,8 @@ #!/bin/sh -e -mkdir -p junk - -( - cd skalibs - - ./configure \ - --prefix=/usr \ - --disable-shared - - make - make DESTDIR="$PWD/../junk" install -) - ./configure \ --prefix=/usr \ - --enable-static-libc \ - --disable-shared \ - --with-sysdeps="$PWD/junk/usr/lib/skalibs/sysdeps" \ - --with-lib="$PWD/junk/usr/lib/skalibs" \ - --with-include="$PWD/junk/usr/include" + --enable-static-libc make make install diff --git a/extra/mdevd/checksums b/extra/mdevd/checksums index 5ee895c1..8759b0aa 100644 --- a/extra/mdevd/checksums +++ b/extra/mdevd/checksums @@ -1,4 +1,3 @@ 5fcca30a90ecac926683290e17fe77426840481284a7d499202f6a7aa27910f5 -71f7408ad041500c137b8ee1f37a8553322a12cc2aad6d93c851122f40bcbee2 f28498912c9ca997e2cf16ec745ac904a29f3c1f9c5e0a5821a37390ca76367a 917bb58ccf50bc0193779c750b04a611b4843ff92cbce71293a8bbe69261f15c diff --git a/extra/mdevd/depends b/extra/mdevd/depends new file mode 100644 index 00000000..201559e5 --- /dev/null +++ b/extra/mdevd/depends @@ -0,0 +1 @@ +skalibs make diff --git a/extra/mdevd/sources b/extra/mdevd/sources index 5cc3c332..917a6f78 100644 --- a/extra/mdevd/sources +++ b/extra/mdevd/sources @@ -1,4 +1,3 @@ https://github.com/skarnet/mdevd/archive/refs/tags/vVERSION.tar.gz -https://github.com/skarnet/skalibs/archive/v2.12.0.1.tar.gz skalibs files/mdevd.conf files/mdevd.run diff --git a/extra/skalibs/build b/extra/skalibs/build new file mode 100755 index 00000000..9e85cfce --- /dev/null +++ b/extra/skalibs/build @@ -0,0 +1,8 @@ +#!/bin/sh -e + +./configure \ + --prefix=/usr \ + --enable-shared + +make +make DESTDIR="$1" install diff --git a/extra/skalibs/checksums b/extra/skalibs/checksums new file mode 100644 index 00000000..4b9d51af --- /dev/null +++ b/extra/skalibs/checksums @@ -0,0 +1 @@ +3e228f72f18d88c17f6c4e0a66881d6d3779427b7e7e889f3142b6f26da30285 diff --git a/extra/skalibs/sources b/extra/skalibs/sources new file mode 100644 index 00000000..f9fccc4c --- /dev/null +++ b/extra/skalibs/sources @@ -0,0 +1 @@ +https://www.skarnet.org/software/skalibs/skalibs-VERSION.tar.gz diff --git a/extra/skalibs/version b/extra/skalibs/version new file mode 100644 index 00000000..9a8dc0b1 --- /dev/null +++ b/extra/skalibs/version @@ -0,0 +1 @@ +2.12.0.1 1