summaryrefslogtreecommitdiffstats
path: root/opkg-lede.pkg
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-04-04 02:22:46 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-04-04 02:22:46 (EDT)
commit8d3d7d3942fd7621a378c613a3a7b255571fa3a7 (patch)
treee2cc10a434254b10d1cfeee1904bc87e8dd6482d /opkg-lede.pkg
Initial commit
Diffstat (limited to 'opkg-lede.pkg')
-rw-r--r--opkg-lede.pkg/control10
-rw-r--r--opkg-lede.pkg/docs0
-rw-r--r--opkg-lede.pkg/files3
-rw-r--r--opkg-lede.pkg/postinst5
4 files changed, 18 insertions, 0 deletions
diff --git a/opkg-lede.pkg/control b/opkg-lede.pkg/control
new file mode 100644
index 0000000..d610831
--- /dev/null
+++ b/opkg-lede.pkg/control
@@ -0,0 +1,10 @@
+Architecture: any
+Platform: all
+Depends: usign, ${Shlib-Depends}
+Description: Lightweight package management system - LEDE/OpenWrt fork
+ The opkg package management system handles installation and removal of packages
+ on a system. It can recursively follow dependencies and download all packages
+ necessary to install a particular package.
+ .
+ This is the LEDE/OpenWrt fork of opkg, which aims to be more lightweight in its
+ own code and its dependencies than the original.
diff --git a/opkg-lede.pkg/docs b/opkg-lede.pkg/docs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/opkg-lede.pkg/docs
diff --git a/opkg-lede.pkg/files b/opkg-lede.pkg/files
new file mode 100644
index 0000000..b7d3b52
--- /dev/null
+++ b/opkg-lede.pkg/files
@@ -0,0 +1,3 @@
+/usr/bin/opkg-key
+/usr/bin/opkg-lede
+/usr/bin/update-alternatives
diff --git a/opkg-lede.pkg/postinst b/opkg-lede.pkg/postinst
new file mode 100644
index 0000000..187a8cc
--- /dev/null
+++ b/opkg-lede.pkg/postinst
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+if [ x"${1}" = x'configure' ]; then
+ update-alternatives --install /usr/bin/opkg opkg /usr/bin/opkg-lede 30
+fi