summaryrefslogtreecommitdiff
path: root/app-admin/example2/example2-1.0.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/example2/example2-1.0.ebuild')
-rw-r--r--app-admin/example2/example2-1.0.ebuild43
1 files changed, 43 insertions, 0 deletions
diff --git a/app-admin/example2/example2-1.0.ebuild b/app-admin/example2/example2-1.0.ebuild
new file mode 100644
index 00000000..0d442efa
--- /dev/null
+++ b/app-admin/example2/example2-1.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=3
+
+inherit eutils
+
+DESCRIPTION="Cacatul meu personal"
+HOMEPAGE="http://pkg.rogentos.ro/"
+SRC_URI="http://pkg.rogentos.ro/~rogentos/distro/fisier.tar.gz"
+
+LICENSE="GPL-2"
+IUSE="primulflag"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+
+RDEPEND=""
+DEPEND="${RPEDEND}"
+
+S="${WORKDIR}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/patch-1.0.patch || die
+}
+
+src_install() {
+ dodir /home/cacatulmeupersonal || die "Creem folderul"
+ insinto /home/cacatulmeupersonal || die "Intram in folder"
+ doins fisier || die "Copiem fisierul fisier din arhiva"
+
+ if use primulflag; then
+ sed -i 's/cacat/ceva/g' fisier || die "Nu a reusit functia"
+ insinto /home/cacatulmeupersonal/ || die
+ doins fisier || die
+ fi
+
+ if ! use primulflag; then
+ ewarn "Nu ai folosit flag-ul asta" || die
+ echo "asta-i echo, dar modificat... genetic" || die
+ fi
+
+}