You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-libs/libmix/libmix-2.05-r6.ebuild

45 lines
1.0 KiB

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmix/libmix-2.05-r6.ebuild,v 1.8 2012/03/18 19:23:53 armin76 Exp $
EAPI="2"
inherit autotools base multilib toolchain-funcs
DESCRIPTION="Programs Crypto/Network/Multipurpose Library"
HOMEPAGE="http://mixter.void.ru/"
SRC_URI="http://mixter.void.ru/${P/.}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
IUSE="static-libs"
#IUSE="net2 static-libs"
#DEPEND="net2? ( net-libs/libpcap net-libs/libnet:1.0 )"
#RDEPEND="${DEPEND}"
S=${WORKDIR}/${PN}-v${PV}
PATCHES=(
"${FILESDIR}"/${P}-fix-pattern.patch
"${FILESDIR}"/${P}-gentoo-r1.patch
"${FILESDIR}"/${P}-libnet.patch
)
DOCS=( CHANGES )
src_prepare() {
base_src_prepare
eautoreconf
}
# net-libs/libnet doesn't provide shared libs, cannot be used currently
src_configure() {
tc-export CC CXX
econf \
$(use_enable static-libs static) \
--without-net2
# $(use_with net2)
}