diff options
author | nslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net> | 2005-01-18 01:01:16 +0000 |
---|---|---|
committer | nslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net> | 2005-01-18 01:01:16 +0000 |
commit | 2650645237555cc24c532a4c9ccd81d8c01bcaf7 (patch) | |
tree | 297cb8213bb881f96893b6246a623718af50a8e1 /packages/gnu-config | |
parent | 6e012296c2dc513ae301654b3d4d3eb826068c81 (diff) |
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded
2005/01/17 19:01:15-06:00 ti.com!kergoth
Move 'patcher-native' into a PATCH_DEPENDS variable.
2005/01/17 18:35:01-06:00 ti.com!kergoth
Teach base_do_patch to unapply all the patches before it starts applying things. This ensures that a patch being 'already applied' isn't a problem.
BKrev: 41ec5fdcZyPXKe57f5FM3PpA19zcww
Diffstat (limited to 'packages/gnu-config')
-rw-r--r-- | packages/gnu-config/gnu-config-native.bb | 16 | ||||
-rw-r--r-- | packages/gnu-config/gnu-config.bb | 25 |
2 files changed, 41 insertions, 0 deletions
diff --git a/packages/gnu-config/gnu-config-native.bb b/packages/gnu-config/gnu-config-native.bb index e69de29bb2..9467746a92 100644 --- a/packages/gnu-config/gnu-config-native.bb +++ b/packages/gnu-config/gnu-config-native.bb @@ -0,0 +1,16 @@ +SECTION = "base" +include gnu-config.bb + +inherit native + +DEPENDS = "" +FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gnu-config" + +do_stage () { + install -d ${STAGING_DATADIR}/gnu-config + cat ${WORKDIR}/gnu-configize.in | \ + sed -e 's,@gnu-configdir@,${STAGING_DATADIR}/gnu-config,' \ + -e 's,@autom4te_perllibdir@,${STAGING_DATADIR}/autoconf,' > ${STAGING_BINDIR}/gnu-configize + chmod 755 ${STAGING_BINDIR}/gnu-configize + install -m 0644 config.guess config.sub ${STAGING_DATADIR}/gnu-config/ +} diff --git a/packages/gnu-config/gnu-config.bb b/packages/gnu-config/gnu-config.bb index e69de29bb2..d45d7dcc73 100644 --- a/packages/gnu-config/gnu-config.bb +++ b/packages/gnu-config/gnu-config.bb @@ -0,0 +1,25 @@ +SECTION = "base" +PV = "0.1" +LICENSE = "GPL" +MAINTAINER = "Chris Larson <kergoth@handhelds.org>" +SRC_URI = "ftp://ftp.club.cc.cmu.edu/pub/gnu/config/config.guess \ + ftp://ftp.club.cc.cmu.edu/pub/gnu/config/config.sub \ + file://uclibc.patch;patch=1;pnum=0 \ + file://gnu-configize.in" +S = "${WORKDIR}" + +INHIBIT_DEFAULT_DEPS = "1" +DEPENDS = "" +PACKAGES = "${PN}" +FILES_${PN} = "${bindir} \ + ${datadir}/gnu-config" + +do_install () { + install -d ${D}/${datadir}/gnu-config \ + ${D}/${bindir} + cat ${WORKDIR}/gnu-configize.in | \ + sed -e 's,@gnu-configdir@,${datadir}/gnu-config,' \ + -e 's,@autom4te_perllibdir@,${STAGING_DATADIR}/autoconf,' > ${STAGING_BINDIR}/gnu-configize + chmod 755 ${D}/${bindir}/gnu-configize + install -m 0644 config.guess config.sub ${D}/${datadir}/gnu-config/ +} |