cdebootstrap-0.5.3: fixing ebuild
Ricardo Salveti [Mon, 26 Jan 2009 05:06:29 +0000 (02:06 -0300)]
Adding libdebian-installer as RDEPENDS and declaring function
src_install, with correct docs.

Signed-off-by: Ricardo Salveti <ricardo.salveti@openbossa.org>

dev-util/cdebootstrap/Manifest
dev-util/cdebootstrap/cdebootstrap-0.5.3.ebuild

index db27de8..62f315e 100644 (file)
@@ -1,2 +1,2 @@
 DIST cdebootstrap_0.5.3.tar.gz 143671 RMD160 9a797bac8eaa53d25896387eea314032b11ecda3 SHA1 e56723810e377b752505b3000ee5f589193e2e36 SHA256 85eee8d99dd15b43e60961a6e14f1980793e400a9ac51943b69e087752efa970
-EBUILD cdebootstrap-0.5.3.ebuild 390 RMD160 1fbf7d566dc1cc1b87c9d77b8a22bc512daf88fd SHA1 086bae4c604cc9d2dfddba795ac04a40015c674f SHA256 864573cf1f89cf3ba1d1380df1363176a29d85cc1cc3aa38cd7b691201e4a240
+EBUILD cdebootstrap-0.5.3.ebuild 532 RMD160 f611b08faf0b192d4bd8d197abefc476e4b8844b SHA1 8152a7a061c98e7c08c3ee7b2dcdfe9112961bc6 SHA256 4a4d34b4dbcca1fd1b61091c07180d4bcffa972c54e642589b07e10c837890a1
index bfb45f5..7aad46a 100644 (file)
@@ -1,6 +1,8 @@
 # Copyright 2009 Ricardo Salveti de Araujo
 # Distributed under the terms of the GNU General Public License v2
 
+EAPI=2
+
 DESCRIPTION="Bootstrap a Debian system"
 HOMEPAGE="http://packages.qa.debian.org/c/cdebootstrap.html"
 SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}.tar.gz"
@@ -11,4 +13,10 @@ KEYWORDS="~x86"
 IUSE=""
 
 DEPEND="net-misc/wget
-       >=app-arch/dpkg-1.14.20"
+       >=app-arch/dpkg-1.14.20
+       dev-libs/libdebian-installer"
+
+src_install() {
+       emake DESTDIR="${D}" install || die "make install failed"
+       dodoc doc/* debian/changelog debian/NEWS
+}