aboutsummaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2022-05-30 17:12:19 +0200
committerCem Keylan <cem@ckyln.com>2022-05-30 17:12:19 +0200
commit660bcddeac9afd536f52cdc8cfbfc2b734fa363f (patch)
treed7ed8703b5a2a60ade3703e8fc2699369e4e0669 /extra
parente96f18616d4a486ae618d68610fbc55008b56811 (diff)
downloadrepository-660bcddeac9afd536f52cdc8cfbfc2b734fa363f.tar.gz
libbsd: split libmd
Diffstat (limited to 'extra')
-rwxr-xr-xextra/libbsd/build20
-rw-r--r--extra/libbsd/checksums1
-rw-r--r--extra/libbsd/sources3
3 files changed, 2 insertions, 22 deletions
diff --git a/extra/libbsd/build b/extra/libbsd/build
index 211f953b..e7de392a 100755
--- a/extra/libbsd/build
+++ b/extra/libbsd/build
@@ -1,27 +1,9 @@
#!/bin/sh -e
-tmp_dir=$PWD/tmp
-
-(
-cd libmd
-
-./configure \
- --prefix=/ \
- --disable-shared
-
-make
-make DESTDIR="$tmp_dir" install
-)
-
-(
-cd libbsd
-
-export CFLAGS="$CFLAGS -I$tmp_dir/include"
-export LIBS="$tmp_dir/lib/libmd.a"
+export CPPFLAGS="$CPPFLAGS $(pkgconf --cflags libmd)"
./configure \
--prefix=/usr
make
make DESTDIR="$1" install
-)
diff --git a/extra/libbsd/checksums b/extra/libbsd/checksums
index 6e86dd3d..1a414792 100644
--- a/extra/libbsd/checksums
+++ b/extra/libbsd/checksums
@@ -1,3 +1,2 @@
%BLAKE3
9605fffa84e0234f18dc9d08e8ec39e7d8199926c1fc5bf93aa14295720d1d01 libbsd-0.11.6.tar.xz
-ad227a03d40aaac3e44c91774b76779ede38c676b146b228fa60fd4bca6542e5 libmd-1.0.3.tar.xz
diff --git a/extra/libbsd/sources b/extra/libbsd/sources
index 56bb2b53..39dd596b 100644
--- a/extra/libbsd/sources
+++ b/extra/libbsd/sources
@@ -1,2 +1 @@
-https://libbsd.freedesktop.org/releases/libbsd-0.11.6.tar.xz libbsd
-https://libbsd.freedesktop.org/releases/libmd-1.0.3.tar.xz libmd
+https://libbsd.freedesktop.org/releases/libbsd-0.11.6.tar.xz