Lines 43-53
src_prepare() {
Link Here
|
43 |
} |
43 |
} |
44 |
|
44 |
|
45 |
src_configure() { |
45 |
src_configure() { |
|
|
46 |
# the configure script is handcrafted (and yells at unknown options) |
47 |
# hence do not use 'econf' |
46 |
./configure --prefix="/usr" \ |
48 |
./configure --prefix="/usr" \ |
47 |
--sysconfdir="${JABBER_ETC}" \ |
49 |
--sysconfdir="${JABBER_ETC}" \ |
48 |
--datadir="${JABBER_SPOOL}" \ |
50 |
--datadir="${JABBER_SPOOL}" \ |
49 |
--with-lua-lib=/usr/$(get_libdir)/lua \ |
51 |
--with-lua-lib=/usr/$(get_libdir)/lua \ |
50 |
--c-compiler="$(tc-getCC)" --linker="$(tc-getCC)" \ |
52 |
--c-compiler="$(tc-getCC)" --linker="$(tc-getCC)" \ |
|
|
53 |
--cflags="${CFLAGS} -Wall -fPIC" \ |
54 |
--ldflags="${LDFLAGS} -shared" \ |
51 |
--require-config || die "configure failed" |
55 |
--require-config || die "configure failed" |
52 |
} |
56 |
} |
53 |
|
57 |
|