summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore11
-rwxr-xr-xbuild17
-rw-r--r--changelog5
-rw-r--r--control3
-rw-r--r--format1
-rw-r--r--source.mk13
6 files changed, 50 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..213a9bf
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,11 @@
+# Swap and backup files
+.*.sw*
+.sw*
+*~
+Session.vim
+
+# Source archives
+*-*.orig.tar.*
+
+# Work area
+tmp/
diff --git a/build b/build
new file mode 100755
index 0000000..789178f
--- /dev/null
+++ b/build
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+
+include ../source.mk
+
+nop:
+
+build:
+ (cd src && cmake -D BUILD_LUA:BOOL=OFF -D BUILD_EXAMPLES:BOOL=OFF .)
+ oh-autobuild
+ touch $@
+
+install: build
+ oh-autoinstall
+ oh-fixperms
+ oh-strip
+ oh-installfiles
+ oh-shlibdeps
diff --git a/changelog b/changelog
new file mode 100644
index 0000000..fa5d9dd
--- /dev/null
+++ b/changelog
@@ -0,0 +1,5 @@
+libubox (0+git20190227.eeef7b5-1) trunk
+
+ * Initial release.
+
+ -- Patrick McDermott <patrick.mcdermott@libiquity.com> Wed, 03 Apr 2019 19:03:56 -0400
diff --git a/control b/control
new file mode 100644
index 0000000..e957eeb
--- /dev/null
+++ b/control
@@ -0,0 +1,3 @@
+Maintainer: Patrick McDermott <patrick.mcdermott@libiquity.com>
+Build-Depends: opkbuild (>= 4.0.2), opkhelper-3.0, cmake
+Homepage: https://git.openwrt.org/?p=project/libubox.git;a=summary
diff --git a/format b/format
new file mode 100644
index 0000000..cd5ac03
--- /dev/null
+++ b/format
@@ -0,0 +1 @@
+2.0
diff --git a/source.mk b/source.mk
new file mode 100644
index 0000000..5718bec
--- /dev/null
+++ b/source.mk
@@ -0,0 +1,13 @@
+# Reference only -- requires git, not yet in ProteanOS
+
+upstream_commit = $$(printf '%s\n' '$(OPK_SOURCE_VERSION_UPSTREAM)' | \
+ sed 's/^.*~git........\.\([0-9a-f]*\).*$$/\1/')
+upstream_git_uri = https://git.openwrt.org/project/$(OPK_SOURCE).git
+source_archive = ../$(OPK_SOURCE)-$(OPK_SOURCE_VERSION_UPSTREAM).orig.tar.xz
+
+$(source_archive):
+ git clone $(upstream_git_uri) $(OPK_SOURCE)/
+ (cd $(OPK_SOURCE)/ && git archive --format=tar --prefix=$(OPK_SOURCE)/ \
+ "$(upstream_commit)") | xz >$@
+
+source: $(source_archive)