Lines 6-13
inherit eutils
Link Here
|
6 |
|
6 |
|
7 |
DESCRIPTION="Self-certifying File System client and server daemons" |
7 |
DESCRIPTION="Self-certifying File System client and server daemons" |
8 |
HOMEPAGE="http://www.fs.net/" |
8 |
HOMEPAGE="http://www.fs.net/" |
9 |
SRC_URI="http://www.fs.net/sfs/@new-york.lcs.mit.edu,u83s4uk49nt8rmp4uwmt2exvz6d3cavh/pub/sfswww/dist/${P}.tar.gz |
9 |
MY_P="${PN}_0.8-0+pre20060720.1" |
10 |
mirror://gentoo/${P}-gcc3.patch.bz2" |
10 |
SRC_URI="mirror://debian/pool/main/s/sfs/${MY_P}.orig.tar.gz |
|
|
11 |
mirror://debian/pool/main/s/sfs/${MY_P}-1.diff.gz" |
12 |
S="${WORKDIR}/${PN}-0.8pre" |
11 |
|
13 |
|
12 |
LICENSE="GPL-2" |
14 |
LICENSE="GPL-2" |
13 |
SLOT="0" |
15 |
SLOT="0" |
Lines 38-60
src_unpack() {
Link Here
|
38 |
cd ${S} |
40 |
cd ${S} |
39 |
sed -i~ 's/-Werror//g' configure |
41 |
sed -i~ 's/-Werror//g' configure |
40 |
|
42 |
|
41 |
epatch ${WORKDIR}/${P}-gcc3.patch |
43 |
epatch "${WORKDIR}/${MY_P}-1.diff" |
|
|
44 |
epatch "${S}/debian/patches" |
42 |
} |
45 |
} |
43 |
|
46 |
|
44 |
src_compile() { |
47 |
src_compile() { |
45 |
econf \ |
48 |
econf \ |
46 |
`use_with ssl openssl /usr` \ |
49 |
`use_with ssl openssl /usr` \ |
47 |
--with-gmp=/usr \ |
50 |
--with-gmp=/usr \ |
48 |
--with-gnuld \ |
51 |
--with-gnu-ld \ |
49 |
--prefix=/ \ |
52 |
--exec-prefix=/ \ |
50 |
|| die "econf failed" |
53 |
|| die "econf failed" |
51 |
|
54 |
|
52 |
# won't parallel build w/o baby-sitting |
55 |
# won't parallel build w/o baby-sitting |
53 |
emake -j1 || die |
56 |
# GMP ldflags don't get properly set?? |
|
|
57 |
emake -j1 LIBGMP=-lgmp || die |
54 |
} |
58 |
} |
55 |
|
59 |
|
56 |
src_install() { |
60 |
src_install() { |
57 |
einstall prefix=${D}/ || die |
61 |
emake DESTDIR="${D}" install || die "emake install failed" |
58 |
|
62 |
|
59 |
insinto /etc/sfs/ |
63 |
insinto /etc/sfs/ |
60 |
doins ${FILESDIR}/sfsrwsd_config |
64 |
doins ${FILESDIR}/sfsrwsd_config |