aboutsummaryrefslogtreecommitdiff
path: root/community/lz4/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2022-01-26 02:20:18 +0300
committerCem Keylan <cem@ckyln.com>2022-01-26 02:20:18 +0300
commit2a5f53cf269d501be18c1bf69d72fcba662c4f13 (patch)
tree36d51f273ea81c7a4b9cc9eef179cf8c4860c046 /community/lz4/build
parent08bd2dd74712c95779d36765088b072008709575 (diff)
downloadrepository-2a5f53cf269d501be18c1bf69d72fcba662c4f13.tar.gz
lz4: add new package at 1.9.3
Diffstat (limited to 'community/lz4/build')
-rwxr-xr-xcommunity/lz4/build12
1 files changed, 12 insertions, 0 deletions
diff --git a/community/lz4/build b/community/lz4/build
new file mode 100755
index 00000000..918a76c1
--- /dev/null
+++ b/community/lz4/build
@@ -0,0 +1,12 @@
+#!/bin/sh -e
+
+mk() {
+ make \
+ PREFIX=/usr \
+ "$@"
+}
+
+mk -C lib
+mk -C programs LDFLAGS="$LDFLAGS -static" lz4 lz4c
+
+mk DESTDIR="$1" install