/[gentoo-x86]/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8.ebuild
Gentoo

Contents of /sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Thu Feb 17 05:24:38 2011 UTC (3 years, 6 months ago) by vapier
Branch: MAIN
Changes since 1.8: +5 -4 lines
Touch up style and use emake when installing.

(Portage version: 2.2.0_alpha23/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8.ebuild,v 1.8 2008/02/05 03:19:57 wolf31o2 Exp $
4
5 inherit libtool flag-o-matic
6
7 MY_P="${PN}-${PV/_/-}"
8 DESCRIPTION="Library for accessing and manipulating reiserfs partitions"
9 HOMEPAGE="http://reiserfs.linux.kiev.ua/"
10 SRC_URI="http://reiserfs.linux.kiev.ua/snapshots/${MY_P}.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="~alpha amd64 ~hppa ~ia64 ~mips ppc ~ppc64 ~sparc x86"
15 IUSE="nls debug"
16
17 RDEPEND=""
18 DEPEND="sys-fs/e2fsprogs
19 nls? ( sys-devel/gettext )"
20
21 S="${WORKDIR}/${MY_P}"
22
23 progsreiserfs_warning() {
24 ewarn "progsreiserfs has been proven dangerous in the past, generating bad"
25 ewarn "partitions and destroying data on resize/cpfs operations."
26 ewarn "Because of this, we do NOT provide their binaries, but only their"
27 ewarn "libraries instead, as these are needed for other applications."
28 }
29
30 src_compile() {
31 elibtoolize
32 filter-lfs-flags
33 econf \
34 --disable-Werror \
35 $(use_enable nls) \
36 $(use_enable debug) \
37 || die "Configure failed"
38 emake || die "Make failed"
39 progsreiserfs_warning
40 }
41
42 src_install() {
43 emake install DESTDIR="${D}" || die
44 # Make sure users only use the official namesys binaries
45 rm -r "${D}"/usr/{sbin,share/man} || die "cant punt the cruft"
46
47 dodoc AUTHORS BUGS ChangeLog NEWS README THANKS TODO
48 docinto demos
49 dodoc demos/*.c
50 progsreiserfs_warning
51 }
52
53 pkg_postinst() {
54 progsreiserfs_warning
55 }
56
57 pkg_preinst() {
58 progsreiserfs_warning
59 }

  ViewVC Help
Powered by ViewVC 1.1.20