summaryrefslogblamecommitdiff
path: root/sys-apps/adelie-base/adelie-base-0.2.2.ebuild
blob: 1ca247e767e077d8a3ba9aa7ef400bb1d78364a0 (plain) (tree)













































































                                                                     
# 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="
	sys-libs/musl
	sys-apps/apk-tools
	dev-libs/libffi
	sys-apps/shadow
	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
	sys-apps/kbd
	lsb? ( app-arch/cpio
		app-arch/gzip
		dev-libs/nspr
		dev-libs/nss
		sys-devel/gettext
		sys-devel/make
		sys-libs/ncurses:0
		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
}