diff options
author | nslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net> | 2005-03-29 19:41:28 +0000 |
---|---|---|
committer | nslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net> | 2005-03-29 19:41:28 +0000 |
commit | c230f8f9aab90ef514beeedbf0bd5c6555629f22 (patch) | |
tree | b4fbb129b71b67e0646432e4275e2285c23d17d8 /packages | |
parent | 27c1c1ba6614531c676d84f5f5cd0aeeb3031eaa (diff) |
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded
2005/03/29 19:03:20+02:00 dyndns.org!reenoo
Merge oe-devel@oe-devel.bkbits.net:openembedded
into sugarcube.dyndns.org:/home2/oe/bakery/openembedded
2005/03/29 18:25:38+02:00 dyndns.org!reenoo
Add gpe-mileage - a mileage calculator for GPE.
2005/03/29 18:24:40+02:00 dyndns.org!reenoo
sqlite: add sqlite.pc from debian
BKrev: 4249af684PPu0iJ1GcpzFsHqu60tmg
Diffstat (limited to 'packages')
-rw-r--r-- | packages/gpe-mileage/gpe-mileage_0.1.bb | 0 | ||||
-rw-r--r-- | packages/sqlite/sqlite-2.8.16/sqlite.pc | 0 | ||||
-rw-r--r-- | packages/sqlite/sqlite_2.8.16.bb | 59 |
3 files changed, 59 insertions, 0 deletions
diff --git a/packages/gpe-mileage/gpe-mileage_0.1.bb b/packages/gpe-mileage/gpe-mileage_0.1.bb new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/gpe-mileage/gpe-mileage_0.1.bb diff --git a/packages/sqlite/sqlite-2.8.16/sqlite.pc b/packages/sqlite/sqlite-2.8.16/sqlite.pc new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/sqlite/sqlite-2.8.16/sqlite.pc diff --git a/packages/sqlite/sqlite_2.8.16.bb b/packages/sqlite/sqlite_2.8.16.bb index e69de29bb2..a820a1bf74 100644 --- a/packages/sqlite/sqlite_2.8.16.bb +++ b/packages/sqlite/sqlite_2.8.16.bb @@ -0,0 +1,59 @@ +DESCRIPTION = "An Embeddable SQL Database Engine" +HOMEPAGE = "http://www.sqlite.org/" +SECTION = "libs" +PRIORITY = "optional" +DEPENDS = "readline ncurses" +LICENSE = "PD" +PR = "r1" + +SRC_URI = "http://www.hwaci.com/sw/sqlite/sqlite-${PV}.tar.gz \ + file://sqlite.pc \ + file://main.mk" + +SOURCES = "attach.o auth.o btree.o btree_rb.o build.o copy.o date.o delete.o expr.o func.o hash.o \ + insert.o main.o opcodes.o os.o pager.o parse.o pragma.o printf.o random.o select.o table.o \ + tokenize.o trigger.o update.o util.o vacuum.o vdbe.o vdbeaux.o where.o" + +inherit autotools pkgconfig + +do_configure() { + install -m 0644 ${WORKDIR}/main.mk ${S}/ +} + +do_compile() { + oe_runmake -f Makefile.linux-gcc \ + TOP="${S}" \ + BCC="${BUILD_CC}" \ + TCC="${CC}" \ + OPTS="-fPIC" \ + TCL_FLAGS= LIBTCL= \ + READLINE_FLAGS="-DHAVE_READLINE=1 -I${STAGING_INCDIR}" \ + LIBREADLINE="-L. -L${STAGING_LIBDIR} -lreadline -lncurses" +} + +do_stage() { + install -m 0755 libsqlite.so ${STAGING_LIBDIR}/libsqlite.so.0.8.6 + ln -sf libsqlite.so.0.8.6 ${STAGING_LIBDIR}/libsqlite.so + ln -sf libsqlite.so.0.8.6 ${STAGING_LIBDIR}/libsqlite.so.0 + ln -sf libsqlite.so.0.8.6 ${STAGING_LIBDIR}/libsqlite.so.0.8 + install -m 0644 sqlite.h ${STAGING_INCDIR} + + # make pkgconfig.bbclass pick this up + mv ${WORKDIR}/sqlite.pc ${S} +} + +do_install() { + install -d ${D}${libdir} ${D}${bindir} + install sqlite ${D}${bindir} + install -m 0755 libsqlite.so ${D}${libdir}/libsqlite.so.0.8.6 + ln -sf libsqlite.so.0.8.6 ${D}${libdir}/libsqlite.so + ln -sf libsqlite.so.0.8.6 ${D}${libdir}/libsqlite.so.0 + ln -sf libsqlite.so.0.8.6 ${D}${libdir}/libsqlite.so.0.8 + install -d ${D}${includedir} + install -m 0644 sqlite.h ${D}${includedir}/sqlite.h +} + +PACKAGES += "${PN}-bin" +FILES_${PN}-bin = "${bindir}" +FILES_${PN} = "${libdir}/*.so.*" + |