classes/autotools_stage.bbclass: Add autotools_stage class to simplify recipes using standard autotools

This commit is contained in:
Richard Purdie
2008-12-26 19:02:44 +00:00
parent f9f549d06f
commit e380b48602
51 changed files with 53 additions and 231 deletions

View File

@@ -4,9 +4,4 @@ LICENSE = "GPL"
DEPENDS = "clutter-0.6 libxml2 gtk+ neon"
inherit autotools pkgconfig
do_stage () {
autotools_stage_all
}
inherit autotools_stage pkgconfig

View File

@@ -7,11 +7,7 @@ DEPENDS = "clutter-0.8"
# The main clutter lib is machine specific so we need to be too
PACKAGE_ARCH = "${MACHINE_ARCH}"
inherit autotools pkgconfig gtk-doc
do_stage () {
autotools_stage_all
}
inherit autotools_stage pkgconfig gtk-doc
do_install_append () {
install -d ${D}${bindir}

View File

@@ -9,9 +9,5 @@ FILESPATH = "${FILE_DIRNAME}/clutter-cairo"
PACKAGES =+ "${PN}-examples"
FILES_${PN}-examples = "${bindir}/flowers ${bindir}/clock"
inherit autotools pkgconfig
do_stage () {
autotools_stage_all
}
inherit autotools_stage pkgconfig

View File

@@ -9,9 +9,5 @@ FILESPATH = "${FILE_DIRNAME}/clutter-gst"
PACKAGES =+ "${PN}-examples"
FILES_${PN}-examples = "${bindir}/video-player ${bindir}/video-sink ${bindir}/audio"
inherit autotools pkgconfig gtk-doc
do_stage () {
autotools_stage_all
}
inherit autotools_stage pkgconfig gtk-doc

View File

@@ -9,9 +9,5 @@ FILESPATH = "${FILE_DIRNAME}/clutter-gtk"
PACKAGES =+ "${PN}-examples"
FILES_${PN}-examples = "${bindir}/gtk-clutter-test ${bindir}/gtk-clutter-events ${bindir}/gtk-clutter-multistage"
inherit autotools pkgconfig gtk-doc
do_stage () {
autotools_stage_all
}
inherit autotools_stage pkgconfig gtk-doc

View File

@@ -9,9 +9,5 @@ FILESPATH = "${FILE_DIRNAME}/clutter-helix"
PACKAGES =+ "${PN}-examples"
FILES_${PN}-examples = "${bindir}/video-player ${bindir}/audio-player"
inherit autotools pkgconfig gtk-doc
do_stage () {
autotools_stage_all
}
inherit autotools_stage pkgconfig gtk-doc

View File

@@ -45,7 +45,7 @@ PACKAGE_ARCH_menlow = "${MACHINE_ARCH}"
FILESPATH = "${FILE_DIRNAME}/clutter"
inherit autotools pkgconfig gtk-doc
inherit autotools_stage pkgconfig gtk-doc
PACKAGES =+ "clutter-examples"
FILES_clutter-examples = "${bindir}/test-* ${pkgdatadir}/redhand.png"
@@ -58,7 +58,3 @@ do_configure_prepend() {
sed -i s:doc/reference/Makefile::g ${S}/configure.ac
sed -i s:doc::g ${S}/Makefile.am
}
do_stage () {
autotools_stage_all
}

View File

@@ -4,14 +4,10 @@ LICENSE = "LGPL"
DEPENDS = "clutter-gst-0.6 gnome-vfs"
inherit autotools pkgconfig
inherit autotools_stage pkgconfig
do_install() {
install -d ${D}${bindir}
install -m 0755 ${S}/table ${D}${bindir}/table
}
#do_stage () {
# autotools_stage_all
#}

View File

@@ -8,7 +8,7 @@ BASE_CONF = "--disable-gtk-doc"
DEPENDS = "${STDDEPENDS}"
EXTRA_OECONF = "${BASE_CONF}"
inherit autotools pkgconfig
inherit autotools_stage pkgconfig
PACKAGES =+ "tidy-examples"
FILES_tidy-examples = "${bindir}/test-*"
@@ -18,7 +18,3 @@ do_configure_prepend() {
sed -i s:docs/reference/Makefile::g ${S}/configure.ac
sed -i s:docs::g ${S}/Makefile.am
}
do_stage () {
autotools_stage_all
}