2175d85f5b
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2047 6952d904-891a-0410-993b-d76249ca496b
35 lines
968 B
Bash
35 lines
968 B
Bash
# Copyright 1999-2010 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: $
|
|
|
|
inherit eutils autotools
|
|
|
|
SRC_URI="mirror://debian/pool/main/r/${PN}/${PN}_${PV}.orig.tar.gz
|
|
http://alioth.debian.org/frs/download.php/2484/${PV}.orig.tar.gz"
|
|
DESCRIPTION="Debian repository creator and maintainer application"
|
|
HOMEPAGE="http://packages.debian.org/reprepro"
|
|
DEPEND="app-arch/bzip2 app-arch/gzip app-arch/libarchive app-crypt/gpgme >=sys-libs/db-4.3"
|
|
KEYWORDS="~amd64 ~arm ~x86"
|
|
IUSE="bzip2"
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
|
|
src_unpack() {
|
|
unpack ${A}
|
|
cd "${S}"
|
|
epatch "${FILESDIR}"/${P}-gpgme-header-check-1.patch
|
|
epatch "${FILESDIR}"/${P}-db-4_5-1.patch
|
|
eautoreconf
|
|
}
|
|
|
|
src_compile() {
|
|
local myconf="--with-libarchive=yes"
|
|
use bzip2 && myconf="${myconf} --with-libbz2=yes" || myconf="${myconf} --with-libbz2=no"
|
|
econf ${myconf} || die "econf failed"
|
|
emake || die "emake failed"
|
|
}
|
|
|
|
src_install() {
|
|
emake DESTDIR="${D}" install
|
|
}
|