summaryrefslogtreecommitdiff
path: root/sys-apps/adelie-base/adelie-base-0.2.ebuild
blob: 7a60c153cd6f87eb0f565016bc09eb8e49233ff5 (plain) (blame)
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# Copyright 2015-2016 Adélie Linux Team
# Distributed under the terms of the NCSA license

EAPI=6

DESCRIPTION="The Adélie Linux Base System"
SRC_URI="mirror://foxkit/${PN}/${P}.tar.xz"

SLOT="0"
KEYWORDS="~alpha arm ~arm64 ~hppa mips ppc ~ppc64 ~sparc64 x86 x86_64"

IUSE="lp lsb +posix"

DOCS=( CONTRIBUTING.rst LICENSE README.rst )

RDEPEND="
	virtual/package-manager
	virtual/libc
	mail-mta/postfix
	app-admin/syslog-ng
	app-arch/libarchive
	app-shells/zsh
	sys-devel/binutils
	sys-process/at
	sys-apps/coreutils
	sys-apps/diffutils
	sys-process/fcron
	sys-apps/file
	sys-apps/findutils
	sys-apps/shimmy
	sys-apps/grep
	sys-apps/noxcuse[noxcuse_apps_iconv]
	sys-process/procps[kill]
	sys-apps/util-linux[tty-helpers]
	lp? ( net-print/cups )
	mail-client/nail
	sys-apps/man-db
	virtual/shadow
	sys-devel/patch
	sys-apps/sed
	sys-libs/ncurses
	app-arch/sharutils
	sys-devel/bc
	app-editors/vim
	sys-process/psmisc
	sys-apps/net-tools
	lsb? ( app-arch/cpio
		app-arch/gzip
		dev-libs/nspr
		dev-libs/nss
		sys-devel/gettext
		sys-devel/make
		virtual/awk
		virtual/pam
	)
	posix? ( sys-apps/ed
		sys-devel/m4
		app-arch/pax
		dev-util/cflow
		app-arch/ncompress
	)
"

src_install() {
	default
	cat > "${D}/etc/lsb-release" <<- EOF
DISTRIB_ID=Adélie
DISTRIB_RELEASE=1.0
DISTRIB_DESCRIPTION="Adélie Linux"
	EOF
	cat > "${D}/etc/adelie-release" <<- EOF
1.0
	EOF
}