blob: 48630c38813176157c7503287b5404864ba6aa6b (
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
|
# Copyright 2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit distutils
DESCRIPTION="a set of tools for updating gentoo config files"
HOMEPAGE="http://michaelsen.kicks-ass.net/users/bjoern/etcproposals"
SRC_URI="http://michaelsen.kicks-ass.net/Members/bjoern/etcproposals/downloads/${P}.tar.gz"
IUSE=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
RDEPEND=">=sys-apps/portage-2.1"
src_install(){
distutils_src_install
dodir /usr/sbin
dosbin "${D}"/usr/bin/etc-proposals
rm -rf "${D}"/usr/{bin,share}
}
pkg_postinst() {
elog "The configuration file has been installed to /etc/etc-proposals.conf"
ewarn "A full backup of /etc and other files managed by CONFIG_PROTECT"
ewarn "is higly advised before testing this tool!"
}
|