diff options
author | Donny Davies <woodchip@gentoo.org> | 2003-03-27 18:45:18 +0000 |
---|---|---|
committer | Donny Davies <woodchip@gentoo.org> | 2003-03-27 18:45:18 +0000 |
commit | af8ecb49f001ca40f2fbac16d200a83699da39d7 (patch) | |
tree | 64772411a18c462e35c98650d61af0f7a604dfe4 /net-libs/lcrzo/lcrzo-4.17.0.ebuild | |
parent | unmasking on x86 (diff) | |
download | gentoo-2-af8ecb49f001ca40f2fbac16d200a83699da39d7.tar.gz gentoo-2-af8ecb49f001ca40f2fbac16d200a83699da39d7.tar.bz2 gentoo-2-af8ecb49f001ca40f2fbac16d200a83699da39d7.zip |
bump
Diffstat (limited to 'net-libs/lcrzo/lcrzo-4.17.0.ebuild')
-rw-r--r-- | net-libs/lcrzo/lcrzo-4.17.0.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/net-libs/lcrzo/lcrzo-4.17.0.ebuild b/net-libs/lcrzo/lcrzo-4.17.0.ebuild new file mode 100644 index 000000000000..89c03f22ec25 --- /dev/null +++ b/net-libs/lcrzo/lcrzo-4.17.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/lcrzo/lcrzo-4.17.0.ebuild,v 1.1 2003/03/27 18:42:08 woodchip Exp $ + +S=${WORKDIR}/${P}-src +DESCRIPTION="Library of Ethernet, IP, UDP, TCP, ICMP, ARP and RARP protocols" +HOMEPAGE="http://www.laurentconstantin.com/en/lcrzo/" +SRC_URI="http://www.laurentconstantin.com/common/${PN}/download/v4/${P}-src.tgz" + +DEPEND="net-libs/libpcap" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="x86 sparc" + +src_unpack() { + unpack ${A} ; cd ${S}/src + + # genemake checks that these directories exist... + mv genemake genemake.orig + sed -e "s:/usr/local/include:/usr/include:" \ + -e "s:/usr/local/lib:/usr/lib:" \ + -e "s:/usr/local/bin:/usr/bin:" \ + -e "s:/usr/local/man/man1:/usr/share/man/man1:" \ + -e "s:/usr/local/man/man3:/usr/share/man/man3:" \ + genemake.orig > genemake + + chmod 755 genemake + ./genemake || die "problem creating Makefile" + + # plug in our CFLAGS and make it install into ${D}... + mv Makefile Makefile.orig + sed -e "s:^\(GCCOPT=\).*:\1${CFLAGS}:" \ + -e "s:^\(GCCOPTL=\).*:\1${CFLAGS}:" \ + -e "s:^\(GCCOPTP=\).*:\1${CFLAGS}:" \ + -e "s:^\(INSTINCLUDE=\):\1${D}:" \ + -e "s:^\(INSTLIB=\):\1${D}:" \ + -e "s:^\(INSTBIN=\):\1${D}:" \ + -e "s:^\(INSTMAN1=\):\1${D}:" \ + -e "s:^\(INSTMAN3=\):\1${D}:" \ + Makefile.orig > Makefile +} + +src_compile() { + make -C src || die "compile problem" +} + +src_install() { + dodir /usr/{bin,include,lib} /usr/share/man/{man1,man3} + make -C src install || die + dodoc doc/*.txt +} |