summaryrefslogtreecommitdiffstats
path: root/opkg.pkg
diff options
context:
space:
mode:
Diffstat (limited to 'opkg.pkg')
-rw-r--r--opkg.pkg/control12
-rw-r--r--opkg.pkg/install2
-rwxr-xr-xopkg.pkg/postinst3
-rwxr-xr-xopkg.pkg/prerm3
4 files changed, 20 insertions, 0 deletions
diff --git a/opkg.pkg/control b/opkg.pkg/control
new file mode 100644
index 0000000..6d0394e
--- /dev/null
+++ b/opkg.pkg/control
@@ -0,0 +1,12 @@
+Package: opkg
+Architecture: any
+Depends: libopkg.1
+Description: Open PacKaGe Management
+ Opkg is a lightweight package management system. It is written in C and
+ resembles apt/dpkg in operation. It is intended for use on embedded Linux
+ devices and is used in this capacity in the OpenEmbedded and OpenWrt projects.
+ .
+ As best it can, opkg maintains backwards compatibility with ipkg and conforms
+ to a subset of debian's policy manual regarding control files.
+ .
+ This package provides the opkg utilities.
diff --git a/opkg.pkg/install b/opkg.pkg/install
new file mode 100644
index 0000000..03d9de7
--- /dev/null
+++ b/opkg.pkg/install
@@ -0,0 +1,2 @@
+/usr/bin
+/etc
diff --git a/opkg.pkg/postinst b/opkg.pkg/postinst
new file mode 100755
index 0000000..c4baf40
--- /dev/null
+++ b/opkg.pkg/postinst
@@ -0,0 +1,3 @@
+#! /bin/sh
+
+ln -s opkg-cl /usr/bin/opkg
diff --git a/opkg.pkg/prerm b/opkg.pkg/prerm
new file mode 100755
index 0000000..91527fa
--- /dev/null
+++ b/opkg.pkg/prerm
@@ -0,0 +1,3 @@
+#! /bin/sh
+
+rm /usr/bin/opkg