summaryrefslogtreecommitdiff
path: root/sys-apps/adelie-base/adelie-base-0-r1.ebuild
blob: 23e71bf20fc8d5aa0e2dd28a3885824e9c987e96 (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
# Copyright 2015-2016 Adélie Linux Team
# Distributed under the terms of the NCSA license

EAPI=6

DESCRIPTION="The Adélie Linux Base System"

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

IUSE="lp +posix"

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
	posix? ( sys-apps/ed
		sys-devel/m4
		app-arch/pax
		dev-util/cflow
		app-arch/ncompress
	)
"

src_unpack() {
	mkdir -p "${S}"
}

src_install() {
	mkdir -p "${D}/dev"
	mkdir -p "${D}/etc"
	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
	mkdir -p "${D}/proc"
	mkdir -p "${D}/sys"
}