summaryrefslogtreecommitdiff
path: root/packages/pine/pine_4.63.bb
diff options
context:
space:
mode:
authorJohn Bowler <jbowler@nslu2-linux.org>2005-08-02 00:51:34 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-02 00:51:34 +0000
commite62c3d12f0ab466cdfa01a49fb86674969e7179d (patch)
tree85bf98102e86950da1726f9ef04f09476fff9eac /packages/pine/pine_4.63.bb
parent471d4c7a1a8d509f8bbd71b78fcdd0ab31427547 (diff)
parentfde83d7aabf6c0f8d56dbe1e1aba0783b004bab3 (diff)
propagate from branch 'org.openembedded.dev' (head 47c2f7f436790105a8af32ec352907b8ff53aba1)
to branch 'org.openembedded.nslu2-linux' (head a69b542d88fdbf378cd19a8ef701895615c143f7)
Diffstat (limited to 'packages/pine/pine_4.63.bb')
-rw-r--r--packages/pine/pine_4.63.bb59
1 files changed, 59 insertions, 0 deletions
diff --git a/packages/pine/pine_4.63.bb b/packages/pine/pine_4.63.bb
new file mode 100644
index 0000000000..b8a11639a6
--- /dev/null
+++ b/packages/pine/pine_4.63.bb
@@ -0,0 +1,59 @@
+DESCRIPTION = "Pine(R) - a Program for Internet News & Email"
+SECTION = "console/network"
+LICENSE = "Pine"
+DEPENDS = "ncurses"
+RDEPENDS_pine = "pico"
+HOMEPAGE = "http://www.washington.edu/pine/"
+MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
+
+SRC_URI = "ftp://ftp.cac.washington.edu/pine/pine${PV}.tar.bz2"
+S = "${WORKDIR}/pine${PV}"
+
+inherit autotools
+
+#
+# ~lart Pine's build structure...
+#
+PARALLEL_MAKE = ""
+EXTRA_OEMAKE = "-e"
+export MAKE = 'MAKE="make -e" make -e'
+
+CFLAGS += "-I${S}/imap/c-client"
+LDFLAGS += "${S}/imap/c-client/c-client.a -lssl -lcrypt"
+
+export SSLDEFINES = "-DSSL_CERT_DIRECTORY=\\"/etc/ssl/certs\\" -DSSL_KEY_DIRECTORY=\\"/etc/ssl/private\\""
+export SSLCFLAGS = "${CFLAGS} -I${STAGING_INCDIR}/openssl ${SSLDEFINES}"
+export SSLLDFLAGS = "-lssl -lcrypt ${LDFLAGS} -L${STAGING_LIBDIR}/openssl"
+export EXTRALDFLAGS = "${LDFLAGS}"
+
+do_configure() {
+ ln -sf ${S}/imap/c-client ${S}/c-client
+ cd ${S}/pico/osdep && \
+ ${BUILD_CC} -o includer includer.c
+ cd ${S}/pine/osdep && \
+ ${BUILD_CC} -o includer includer.c
+}
+
+do_compile() {
+ unset CFLAGS && unset LDFLAGS
+ cd ${S}/imap && oe_runmake slx
+
+ for i in pico pine
+ do
+ cd ${S}/$i && oe_runmake -f makefile.lnx
+ done
+}
+
+BINARIES = "imap/mailutil/mailutil imap/mlock/mlock pico/pico pico/pilot pine/pine"
+
+do_install() {
+ install -d 0644 ${D}${bindir}
+ for binary in ${BINARIES}
+ do
+ install -m 0755 $binary ${D}${bindir}
+ done
+}
+
+PACKAGES = "pico pine"
+FILES_pico = "${bindir}/pico ${bindir}/pilot"
+