summaryrefslogtreecommitdiff
path: root/gpm
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2003-10-16 18:56:04 +0000
committerChris Larson <clarson@kergoth.com>2003-10-16 18:56:04 +0000
commit30d22eb1316703a8c5e0a7da49b56f7dc266e617 (patch)
treec340f982b8e6220ee8e7c64c7118d65806c30ca0 /gpm
parentf1d4f6a25242b4d212078c7b745eefc6f16e1a31 (diff)
Add flex and gpm staging bits -- working to get links building.
BKrev: 3f8ee9c4LNE8LA97re6C4GXW9XF23g
Diffstat (limited to 'gpm')
-rw-r--r--gpm/gpm_1.20.1.oe20
1 files changed, 20 insertions, 0 deletions
diff --git a/gpm/gpm_1.20.1.oe b/gpm/gpm_1.20.1.oe
index e69de29bb2..336d277879 100644
--- a/gpm/gpm_1.20.1.oe
+++ b/gpm/gpm_1.20.1.oe
@@ -0,0 +1,20 @@
+SRC_URI = ftp://arcana.linux.it/pub/gpm/gpm-1.20.1.tar.bz2
+S = ${WORKDIR}/${P}
+
+inherit autotools
+
+export LIBS=-lm
+do_configure_prepend () {
+ cp aclocal.m4 acinclude.m4
+}
+
+do_stage () {
+ install -m 0644 src/headers/gpm.h ${STAGING_DIR}/target/include/
+ install -m 0644 src/lib/libgpm.a ${STAGING_LIBDIR}/
+ install -m 0755 src/lib/libgpm.so.1.19.0 ${STAGING_LIBDIR}/
+ ln -sf libgpm.so.1.19.0 ${STAGING_LIBDIR}/libgpm.so
+}
+
+do_install () {
+ oe_runmake 'ROOT=${D}' install
+}