diff options
author | Sven Wegener <swegener@gentoo.org> | 2005-05-16 17:08:34 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2005-05-16 17:08:34 +0000 |
commit | 308fdde17df82422da94c89523e37f89ce371bd7 (patch) | |
tree | 74956ae070e772b94390fad7bab8e6eaef4db0b1 /net-nntp | |
parent | gcc.eclass -> toolchains-funcs.eclass; x86 (diff) | |
download | historical-308fdde17df82422da94c89523e37f89ce371bd7.tar.gz historical-308fdde17df82422da94c89523e37f89ce371bd7.tar.bz2 historical-308fdde17df82422da94c89523e37f89ce371bd7.zip |
Added cross-compile support.
Package-Manager: portage-2.0.51.21-r1
Diffstat (limited to 'net-nntp')
-rw-r--r-- | net-nntp/sn/ChangeLog | 5 | ||||
-rw-r--r-- | net-nntp/sn/Manifest | 12 | ||||
-rw-r--r-- | net-nntp/sn/sn-0.3.8.ebuild | 21 |
3 files changed, 20 insertions, 18 deletions
diff --git a/net-nntp/sn/ChangeLog b/net-nntp/sn/ChangeLog index 5cf170ef8cac..c0a9c86ac11e 100644 --- a/net-nntp/sn/ChangeLog +++ b/net-nntp/sn/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-nntp/sn # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-nntp/sn/ChangeLog,v 1.2 2005/01/17 21:50:41 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-nntp/sn/ChangeLog,v 1.3 2005/05/16 17:08:34 swegener Exp $ + + 16 May 2005; Sven Wegener <swegener@gentoo.org> sn-0.3.8.ebuild: + Added cross-compile support. *sn-0.3.8 (17 Jan 2005) diff --git a/net-nntp/sn/Manifest b/net-nntp/sn/Manifest index 72f4019369b1..2d3aa04c58e2 100644 --- a/net-nntp/sn/Manifest +++ b/net-nntp/sn/Manifest @@ -1,14 +1,14 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 4b8f7f371ee984f92226446d2897e736 sn-0.3.8.ebuild 1105 -MD5 5ef190517e9cc862ab35c31b01c9efdb ChangeLog 1538 +MD5 b452b75bc29b01b69f1421c6e4e3a8de sn-0.3.8.ebuild 1150 +MD5 6831aaa8e1a5872e757fdf7d2a35366b ChangeLog 1637 MD5 d4764f5c17f5e0b416f7ddf271c77d71 metadata.xml 161 MD5 86375b59896300395ee98b6aedc8a64c files/digest-sn-0.3.8 60 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.9.10 (GNU/Linux) +Version: GnuPG v1.4.1 (GNU/Linux) -iD8DBQFB7DM3I1lqEGTUzyQRAjo9AJ4znJRMhwPu26PoOf8/E3HWalpBiwCeLNrd -hi3lKVCiZCT6I4G1tyoyIZk= -=AQPM +iD8DBQFCiNOmI1lqEGTUzyQRAhwbAKCG4MXOX8NJv0zUIpUOxXiuU6jN+wCeKSap +pwsOb+F0sTKRfHvMxt8oWTc= +=apxh -----END PGP SIGNATURE----- diff --git a/net-nntp/sn/sn-0.3.8.ebuild b/net-nntp/sn/sn-0.3.8.ebuild index d8485e903d02..aead52c4727e 100644 --- a/net-nntp/sn/sn-0.3.8.ebuild +++ b/net-nntp/sn/sn-0.3.8.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-nntp/sn/sn-0.3.8.ebuild,v 1.1 2005/01/17 20:11:50 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-nntp/sn/sn-0.3.8.ebuild,v 1.2 2005/05/16 17:08:34 swegener Exp $ + +inherit toolchain-funcs DESCRIPTION="Hassle-free Usenet news system for small sites" SRC_URI="http://infa.abo.fi/~patrik/sn/files/${P}.tar.bz2" @@ -21,6 +23,7 @@ src_compile() { echo ${CFLAGS} >>cc-flags emake -j1 \ + CC="$(tc-getCC)" LD="$(tc-getCC)" \ SNROOT=/var/spool/news \ BINDIR=/usr/sbin \ MANDIR=/usr/share/man \ @@ -29,16 +32,12 @@ src_compile() { src_install() { dodir /var/spool/news /usr/sbin /usr/share/man/man8 - mknod -m 600 ${D}/var/spool/news/.fifo p + mknod -m 600 "${D}"/var/spool/news/.fifo p make install \ - SNROOT=${D}/var/spool/news \ - BINDIR=${D}/usr/sbin \ - MANDIR=${D}/usr/share/man \ + SNROOT="${D}"/var/spool/news \ + BINDIR="${D}"/usr/sbin \ + MANDIR="${D}"/usr/share/man \ || die "make install failed" - dodoc CHANGES FAQ INSTALL* INTERNALS README* THANKS TODO -} - -pkg_postinst() { - chown news:news /var/spool/news - chown news:news /var/spool/news/.fifo + dodoc CHANGES FAQ INSTALL* INTERNALS README* THANKS TODO || die "dodoc failed" + fowners news:news /var/spool/news{,/.fifo} } |