blob: 0d442efa32a8562f271e6f72ab7792191b350ad6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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
}
|