Lines 50-59
Link Here
|
50 |
$(use_with mysql) \ |
50 |
$(use_with mysql) \ |
51 |
$(use_with postgres pgsql) \ |
51 |
$(use_with postgres pgsql) \ |
52 |
$(use_with stemmer libstemmer) |
52 |
$(use_with stemmer libstemmer) |
|
|
53 |
cd api/libsphinxclient || die |
54 |
econf |
53 |
} |
55 |
} |
54 |
|
56 |
|
55 |
src_compile() { |
57 |
src_compile() { |
56 |
emake || die "emake failed" |
58 |
emake || die "emake failed" |
|
|
59 |
emake -j1 -C api/libsphinxclient || die "emake libsphinxclient failed" |
57 |
} |
60 |
} |
58 |
|
61 |
|
59 |
src_test() { |
62 |
src_test() { |
Lines 63-68
Link Here
|
63 |
|
66 |
|
64 |
src_install() { |
67 |
src_install() { |
65 |
emake DESTDIR="${D}" install || die "install failed" |
68 |
emake DESTDIR="${D}" install || die "install failed" |
|
|
69 |
emake -C api/libsphinxclient DESTDIR="${D}" install || die "install failed" |
66 |
dodoc doc/* |
70 |
dodoc doc/* |
67 |
|
71 |
|
68 |
dodir /var/lib/sphinx |
72 |
dodir /var/lib/sphinx |