summaryrefslogtreecommitdiff
path: root/recipes/chicken/chicken.inc
diff options
context:
space:
mode:
authorMario Domenech Goulart <mario@ossystems.com.br>2009-10-16 15:19:57 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2009-10-29 20:43:50 -0200
commit63f60254966eabb9f4e2457eab659e6e5c51797c (patch)
tree697f82c2c29e0bdb4c97c22a025bcd14e0299e7a /recipes/chicken/chicken.inc
parent7afc325ab1fac79e1eaba65383bfed12d705d7bc (diff)
chicken: added SONAME support for chicken 4
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes/chicken/chicken.inc')
-rw-r--r--recipes/chicken/chicken.inc24
1 files changed, 4 insertions, 20 deletions
diff --git a/recipes/chicken/chicken.inc b/recipes/chicken/chicken.inc
index ff8da65683..1622d3715d 100644
--- a/recipes/chicken/chicken.inc
+++ b/recipes/chicken/chicken.inc
@@ -7,8 +7,6 @@ INC_PR = "r1"
SRC_URI = "http://chicken.wiki.br/releases/${PV}/chicken-${PV}.tar.gz"
-inherit autotools
-
# Parallel building is not supported
PARALLEL_MAKE = ""
@@ -16,12 +14,9 @@ PARALLEL_MAKE = ""
export PLATFORM="linux"
export PREFIX="${prefix}"
export C_COMPILER="${TARGET_PREFIX}gcc ${LDFLAGS} "
-export LIBRARIAN="${TARGET_PREIX}ar "
+export LIBRARIAN="${TARGET_PREFIX}ar "
export TARGETSYSTEM="${TARGET_SYS}"
-SONAME = "${@bb.data.getVar("PV", d, 1)[0]}"
-ASSUME_SHLIBS += "libchicken.so.${SONAME}:libchicken libuchicken.so.${SONAME}:libuchicken"
-
do_compile() {
case ${TARGET_ARCH} in
i*86)
@@ -50,22 +45,11 @@ do_install() {
make ARCH=${ARCH} DESTDIR=${D} install
}
-do_install_append() {
- # Handle lacking of soname is some versions
- if [ ! -e ${D}${libdir}/libchicken.so.${SONAME} ]; then
- (cd ${D}${libdir}
- mv libchicken.so libchicken.so.${SONAME}
- ln -s libchicken.so.${SONAME} libchicken.so
- mv libuchicken.so libuchicken.so.${SONAME}
- ln -s libuchicken.so.${SONAME} libuchicken.so)
- fi
-}
-
PACKAGES += "chicken-bin libchicken libuchicken"
FILES_${PN} = ""
-FILES_libchicken = "${libdir}/libchicken.so.${SONAME}"
-FILES_libuchicken = "${libdir}/libuchicken.so.${SONAME}*"
-FILES_${PN}-bin = "${bindir}/* ${datadir}/chicken/*.* ${libdir}/chicken/${SONAME}/*.so"
+FILES_libchicken = "${libdir}/libchicken.so.*"
+FILES_libuchicken = "${libdir}/libuchicken.so.*"
+FILES_${PN}-bin = "${bindir}/* ${datadir}/chicken/*.* ${libdir}/chicken/*/*.so"
FILES_${PN}-doc += "${datadir}/chicken/doc"
FILES_${PN}-dbg += "${libdir}/chicken/*/.debug"