diff options
author | Richard Purdie <richard@openedhand.com> | 2005-08-31 10:45:47 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2005-08-31 10:45:47 +0000 |
commit | 4b46c1f6e891b1ddd5968536440b888661fade3e (patch) | |
tree | e0ba2c1f56f61b868bf746da5c4feabb25b800b2 /openembedded/packages/gnu-config/gnu-config_20050701.bb | |
download | poky-4b46c1f6e891b1ddd5968536440b888661fade3e.tar.gz |
Initial population
git-svn-id: https://svn.o-hand.com/repos/poky@1 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages/gnu-config/gnu-config_20050701.bb')
-rw-r--r-- | openembedded/packages/gnu-config/gnu-config_20050701.bb | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/openembedded/packages/gnu-config/gnu-config_20050701.bb b/openembedded/packages/gnu-config/gnu-config_20050701.bb new file mode 100644 index 0000000000..bf2b51f6e2 --- /dev/null +++ b/openembedded/packages/gnu-config/gnu-config_20050701.bb | |||
@@ -0,0 +1,33 @@ | |||
1 | SECTION = "base" | ||
2 | DESCRIPTION = "gnu-configize" | ||
3 | LICENSE = "GPL" | ||
4 | DEPENDS = "" | ||
5 | INHIBIT_DEFAULT_DEPS = "1" | ||
6 | MAINTAINER = "Chris Larson <kergoth@handhelds.org>" | ||
7 | |||
8 | FIXEDCVSDATE = "${@bb.data.getVar('FILE', d, 1).split('_')[-1].split('.')[0]}" | ||
9 | PV = "0.1cvs${FIXEDCVSDATE}" | ||
10 | PR = "r4" | ||
11 | |||
12 | SRC_URI = "cvs://anoncvs:@savannah.gnu.org/cvsroot/config;module=config;method=ext;rsh=ssh;date=${FIXEDCVSDATE} \ | ||
13 | file://config-guess-uclibc.patch;patch=1 \ | ||
14 | file://gnu-configize.in" | ||
15 | S = "${WORKDIR}/config" | ||
16 | |||
17 | do_compile() { | ||
18 | : | ||
19 | } | ||
20 | |||
21 | do_install () { | ||
22 | install -d ${D}${datadir}/gnu-config \ | ||
23 | ${D}${bindir} | ||
24 | cat ${WORKDIR}/gnu-configize.in | \ | ||
25 | sed -e 's,@gnu-configdir@,${datadir}/gnu-config,g' \ | ||
26 | -e 's,@autom4te_perllibdir@,${datadir}/autoconf,g' \ | ||
27 | -e 's,/usr/bin/perl,${bindir}/perl,g' > ${D}${bindir}/gnu-configize | ||
28 | chmod 755 ${D}${bindir}/gnu-configize | ||
29 | install -m 0644 config.guess config.sub ${D}${datadir}/gnu-config/ | ||
30 | } | ||
31 | |||
32 | PACKAGES = "${PN}" | ||
33 | FILES_${PN} = "${bindir} ${datadir}/gnu-config" | ||