diff options
| author | Richard Purdie <richard@openedhand.com> | 2006-07-21 10:10:31 +0000 |
|---|---|---|
| committer | Richard Purdie <richard@openedhand.com> | 2006-07-21 10:10:31 +0000 |
| commit | b2f192faabe412adce79534e22efe9fb69ee40e2 (patch) | |
| tree | 7076c49d4286f8a1733650bd8fbc7161af200d57 /openembedded/packages/ipkg/ipkg.inc | |
| parent | 2cf0eadf9f730027833af802d7e6c90b44248f80 (diff) | |
| download | poky-b2f192faabe412adce79534e22efe9fb69ee40e2.tar.gz | |
Rename /openembedded/ -> /meta/
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages/ipkg/ipkg.inc')
| -rw-r--r-- | openembedded/packages/ipkg/ipkg.inc | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/openembedded/packages/ipkg/ipkg.inc b/openembedded/packages/ipkg/ipkg.inc deleted file mode 100644 index 8fc6c9efe0..0000000000 --- a/openembedded/packages/ipkg/ipkg.inc +++ /dev/null | |||
| @@ -1,56 +0,0 @@ | |||
| 1 | DESCRIPTION = "Itsy Package Manager" | ||
| 2 | DESCRIPTION_libipkg = "Itsy Package Manager Library" | ||
| 3 | SECTION = "base" | ||
| 4 | LICENSE = "GPL" | ||
| 5 | PROVIDES = "virtual/ipkg libipkg" | ||
| 6 | |||
| 7 | PACKAGES =+ "libipkg-dev libipkg" | ||
| 8 | FILES_libipkg-dev = "${libdir}/*.a ${libdir}/*.la ${libdir}/*.so" | ||
| 9 | FILES_libipkg = "${libdir}" | ||
| 10 | AUTO_LIBNAME_PKGS = "libipkg" | ||
| 11 | |||
| 12 | SRC_URI = "${HANDHELDS_CVS};module=familiar/dist/ipkg;tag=${@'V' + bb.data.getVar('PV',d,1).replace('.', '-')} \ | ||
| 13 | file://terse.patch;patch=1" | ||
| 14 | |||
| 15 | S = "${WORKDIR}/ipkg/C" | ||
| 16 | |||
| 17 | inherit autotools pkgconfig | ||
| 18 | |||
| 19 | # Define a variable to allow distros to run configure earlier. | ||
| 20 | # (for example, to enable loading of ethernet kernel modules before networking starts) | ||
| 21 | IPKG_INIT_POSITION = "98" | ||
| 22 | IPKG_INIT_POSITION_slugos = "41" | ||
| 23 | |||
| 24 | pkg_postinst_ipkg () { | ||
| 25 | #!/bin/sh | ||
| 26 | if [ "x$D" != "x" ]; then | ||
| 27 | install -d ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d | ||
| 28 | # this happens at S98 where our good 'ole packages script used to run | ||
| 29 | echo -e "#!/bin/sh | ||
| 30 | ipkg-cl configure | ||
| 31 | " > ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d/S${IPKG_INIT_POSITION}configure | ||
| 32 | chmod 0755 ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d/S${IPKG_INIT_POSITION}configure | ||
| 33 | fi | ||
| 34 | |||
| 35 | update-alternatives --install ${bindir}/ipkg ipkg ${bindir}/ipkg-cl 100 | ||
| 36 | } | ||
| 37 | |||
| 38 | pkg_postrm_ipkg () { | ||
| 39 | #!/bin/sh | ||
| 40 | update-alternatives --remove ipkg ${bindir}/ipkg-cl | ||
| 41 | } | ||
| 42 | |||
| 43 | do_stage() { | ||
| 44 | oe_libinstall -so libipkg ${STAGING_LIBDIR} | ||
| 45 | install -d ${STAGING_INCDIR}/replace/ | ||
| 46 | install -m 0644 replace/replace.h ${STAGING_INCDIR}/replace/ | ||
| 47 | install -d ${STAGING_INCDIR}/libipkg/ | ||
| 48 | for f in *.h | ||
| 49 | do | ||
| 50 | install -m 0644 $f ${STAGING_INCDIR}/libipkg/ | ||
| 51 | done | ||
| 52 | } | ||
| 53 | |||
| 54 | # | ||
| 55 | # FIXME: Install /etc/ipkg.conf and /etc/ipkg/arch.conf | ||
| 56 | # | ||
