First pass at patches to update various packages to recent autotools (first pass...
[vuplus_openembedded] / gpm / gpm_1.20.1.oe
1 SRC_URI = ftp://arcana.linux.it/pub/gpm/gpm-1.20.1.tar.bz2 \
2           file://${FILESDIR}/configure.patch;patch=1
3 S = ${WORKDIR}/${P}
4
5 inherit autotools
6
7 export LIBS=-lm
8 do_configure_prepend () {
9         cp aclocal.m4 acinclude.m4
10 }
11
12 do_stage () {
13         install -m 0644 src/headers/gpm.h ${STAGING_DIR}/target/include/
14         install -m 0644 src/lib/libgpm.a ${STAGING_LIBDIR}/
15         install -m 0755 src/lib/libgpm.so.1.19.0 ${STAGING_LIBDIR}/
16         ln -sf libgpm.so.1.19.0 ${STAGING_LIBDIR}/libgpm.so
17 }
18
19 do_install () {
20         oe_runmake 'ROOT=${D}' install
21 }