summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorJunqian Gordon Xu <xjqian@gmail.com>2008-02-24 06:50:23 +0000
committerJunqian Gordon Xu <xjqian@gmail.com>2008-02-24 06:50:23 +0000
commitf7d9bfb1a8285e46b6156a8cc7cced5d00a308d1 (patch)
tree5accc74102b0ddffec37f7c14e45a46ec138e7b8 /packages
parentdce025ac6c9ed5041af6deea962fa80de120897e (diff)
libgsm: fix staging following debian style
* make a symlink from ${INCLUDEDIR}/gsm/gsm.h to ${INCLUDEDIR}/gsm.h * replace tab with space
Diffstat (limited to 'packages')
-rw-r--r--packages/libgsm/libgsm_1.0.10.bb18
1 files changed, 11 insertions, 7 deletions
diff --git a/packages/libgsm/libgsm_1.0.10.bb b/packages/libgsm/libgsm_1.0.10.bb
index 0a86bd0bb4..93d042ed36 100644
--- a/packages/libgsm/libgsm_1.0.10.bb
+++ b/packages/libgsm/libgsm_1.0.10.bb
@@ -3,10 +3,13 @@ SECTION = "libs"
PRIORITY = "optional"
#DEPENDS = ""
LICENSE = "libgsm"
+
+PR = "r1"
+
inherit pkgconfig gpe
SRC_URI = "http://www.netsw.org/audio/convert/gsm-${PV}.tar.gz \
- file://${FILESDIR}/libgsm_patch;patch=1;pnum=0"
+ file://${FILESDIR}/libgsm_patch;patch=1;pnum=0"
S = "${WORKDIR}/gsm-1.0-pl10/"
@@ -14,13 +17,14 @@ headers = "gsm.h"
do_stage () {
oe_libinstall -a -C lib libgsm ${STAGING_LIBDIR}
- mkdir -p ${STAGING_INCDIR}/gsm
- for h in ${headers}; do
- install -m 0644 ${S}/inc/$h ${STAGING_INCDIR}/gsm/$h
- done
+ mkdir -p ${STAGING_INCDIR}/gsm
+ for h in ${headers}; do
+ install -m 0644 ${S}/inc/$h ${STAGING_INCDIR}/gsm/$h
+ done
+ ln -s ${STAGING_INCDIR}/gsm/gsm.h ${STAGING_INCDIR}/gsm.h
}
#do_install () {
-# gpe_do_install
-# oe_runmake PREFIX=${prefix} DESTDIR=${D} install-devel
+# gpe_do_install
+# oe_runmake PREFIX=${prefix} DESTDIR=${D} install-devel
#}