Lines 2-15
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/sys-libs/libutempter/libutempter-1.1.4.1.ebuild,v 1.15 2006/10/14 19:58:23 kloeri Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/sys-libs/libutempter/libutempter-1.1.4.1.ebuild,v 1.15 2006/10/14 19:58:23 kloeri Exp $ |
4 |
|
4 |
|
5 |
inherit rpm eutils flag-o-matic versionator toolchain-funcs |
5 |
inherit eutils flag-o-matic versionator toolchain-funcs |
6 |
|
6 |
|
7 |
MY_P=${PN}-$(replace_version_separator 3 '-alt') |
7 |
# As the original 1.1.4.1 ebuild used libutempter-1.1.4-alt1.src.rpm, |
|
|
8 |
# this ebuild has a four part version number. |
9 |
# However the tarballs only have a three part version. |
10 |
# So all this magic here is only so that users won't have to rebuild their |
11 |
# correct 1.1.4.1 installation and should be dropped with the next release |
12 |
# in favour of a simple three part version number. |
13 |
MY_P=${PN}-$(get_version_component_range 1-3) |
8 |
S=${WORKDIR}/${PN}-$(get_version_component_range 1-3) |
14 |
S=${WORKDIR}/${PN}-$(get_version_component_range 1-3) |
9 |
#PATCHVER="1" |
15 |
|
10 |
DESCRIPTION="Library that allows non-privileged apps to write utmp (login) info, which need root access" |
16 |
DESCRIPTION="Library that allows non-privileged apps to write utmp (login) info, which need root access" |
11 |
HOMEPAGE="http://altlinux.org/index.php?module=sisyphus&package=libutempter" |
17 |
HOMEPAGE="http://altlinux.org/index.php?module=sisyphus&package=libutempter" |
12 |
SRC_URI="ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/Sisyphus/files/SRPMS/${MY_P}.src.rpm" |
18 |
SRC_URI="ftp://ftp.altlinux.org/pub/people/ldv/${PN}/${MY_P}.tar.bz2" |
13 |
|
19 |
|
14 |
LICENSE="LGPL-2.1" |
20 |
LICENSE="LGPL-2.1" |
15 |
SLOT="0" |
21 |
SLOT="0" |
Lines 21-28
Link Here
|
21 |
|
27 |
|
22 |
PROVIDE="virtual/utempter" |
28 |
PROVIDE="virtual/utempter" |
23 |
|
29 |
|
24 |
PATCHDIR="${WORKDIR}/gentoo/patches" |
|
|
25 |
|
26 |
pkg_setup() { |
30 |
pkg_setup() { |
27 |
enewgroup utmp 406 |
31 |
enewgroup utmp 406 |
28 |
} |
32 |
} |