summaryrefslogtreecommitdiff
path: root/packages/popt
diff options
context:
space:
mode:
Diffstat (limited to 'packages/popt')
-rw-r--r--packages/popt/popt-native_1.13.bb16
-rw-r--r--packages/popt/popt-native_1.7.bb19
-rw-r--r--packages/popt/popt.inc5
-rw-r--r--packages/popt/popt_1.13.bb16
-rw-r--r--packages/popt/popt_1.7.bb19
5 files changed, 63 insertions, 12 deletions
diff --git a/packages/popt/popt-native_1.13.bb b/packages/popt/popt-native_1.13.bb
new file mode 100644
index 0000000000..0124aa8485
--- /dev/null
+++ b/packages/popt/popt-native_1.13.bb
@@ -0,0 +1,16 @@
+require popt.inc
+
+DEPENDS = "gettext-native"
+
+PR = "r0"
+
+inherit native autotools
+
+SRC_URI = "http://freshmeat.net/redir/popt/72854/url_bz2/popt-${PV}.tar.gz"
+
+S = "${WORKDIR}/popt-${PV}"
+
+do_install() {
+ oe_libinstall -a -so libpopt ${STAGING_LIBDIR_NATIVE}
+ install -m 0644 popt.h ${STAGING_INCDIR_NATIVE}
+}
diff --git a/packages/popt/popt-native_1.7.bb b/packages/popt/popt-native_1.7.bb
index 75b90d0763..a83d384eee 100644
--- a/packages/popt/popt-native_1.7.bb
+++ b/packages/popt/popt-native_1.7.bb
@@ -1,5 +1,20 @@
-require popt_${PV}.bb
-inherit native
+require popt.inc
+
+DEPENDS = "gettext-native"
+
+PR = "r5"
+
+inherit native autotools
+
+SRC_URI = "ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.1.x/popt-${PV}.tar.gz \
+ file://m4.patch;patch=1 \
+ file://intl.patch;patch=1"
S = "${WORKDIR}/popt-${PV}"
+
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/popt-${PV}"
+
+do_install() {
+ oe_libinstall -a -so libpopt ${STAGING_LIBDIR_NATIVE}
+ install -m 0644 popt.h ${STAGING_INCDIR_NATIVE}
+}
diff --git a/packages/popt/popt.inc b/packages/popt/popt.inc
new file mode 100644
index 0000000000..3917805129
--- /dev/null
+++ b/packages/popt/popt.inc
@@ -0,0 +1,5 @@
+DESCRIPTION = "Popt is a C library for parsing command line parameters"
+HOMEPAGE = "http://freshmeat.net/projects/popt"
+AUTHOR = "Jeff Johnson"
+LICENSE = "MIT"
+SECTION = "libs"
diff --git a/packages/popt/popt_1.13.bb b/packages/popt/popt_1.13.bb
new file mode 100644
index 0000000000..9b071ba731
--- /dev/null
+++ b/packages/popt/popt_1.13.bb
@@ -0,0 +1,16 @@
+require popt.inc
+
+DEPENDS = "gettext virtual/libintl"
+
+PR = "r0"
+
+inherit autotools
+
+SRC_URI = "http://freshmeat.net/redir/popt/72854/url_bz2/popt-${PV}.tar.gz"
+
+do_stage() {
+ oe_libinstall -a -so libpopt ${STAGING_LIBDIR}
+ install -m 0644 popt.h ${STAGING_INCDIR}
+}
+
+
diff --git a/packages/popt/popt_1.7.bb b/packages/popt/popt_1.7.bb
index 137b6744dc..7992db56e7 100644
--- a/packages/popt/popt_1.7.bb
+++ b/packages/popt/popt_1.7.bb
@@ -1,17 +1,16 @@
-DESCRIPTION = "The popt library exists essentially \
-for parsing command line options."
-LICENSE = "MIT"
-SECTION = "libs"
-DEPENDS = "gettext-native"
-PR = "r4"
+require popt.inc
+
+DEPENDS = "gettext virtual/libintl"
+
+PR = "r5"
+
+inherit autotools
SRC_URI = "ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.1.x/popt-${PV}.tar.gz \
file://m4.patch;patch=1 \
file://intl.patch;patch=1"
-inherit autotools
-
-do_stage () {
+do_stage() {
oe_libinstall -a -so libpopt ${STAGING_LIBDIR}
- install -m 0644 popt.h ${STAGING_INCDIR}/
+ install -m 0644 popt.h ${STAGING_INCDIR}
}