summaryrefslogtreecommitdiff
path: root/recipes/ctrlproxy/ctrlproxy_2.6.2.bb
blob: 53be0cef7662c43a788b6bf1054ba94d576d637b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
DESCRIPTION = "ctrlproxy is an IRC server with multiserver support."
SECTION = "console/network"
PRIORITY = "optional"
DEPENDS = "glib-2.0 libxml2 popt libpcre openssl"
PR = "r1"
LICENSE = "GPL"

SRC_URI = "http://sources.nslu2-linux.org/sources/ctrlproxy-2.6.2.tar.gz"
S = "${WORKDIR}/ctrlproxy-2.6.2/"

inherit autotools
# update-rc.d

#INITSCRIPT_NAME = "ctrlproxy"
#INITSCRIPT_PARAMS = "defaults 84"
# CONFFILES_${PN} = "${sysconfdir}/foo.conf"

# To fix this error in autotools_do_configure (which arises after a
# change to pkg-config pkg.m4):
#configure:314: error: possibly undefined macro: PKG_LIBS
do_configure() {
	oe_runconf
}

CFLAGS += "-L${STAGING_LIBDIR}"

#do_install() {
#	autotools_do_install
#	install -d ${D}${sysconfdir}
#	install -d ${D}${sysconfdir}/init.d
#	install -m 0644 ${S}contrib/foo.conf ${D}${sysconfdir}
#	install -m 0755 ${WORKDIR}/foo.init ${D}${sysconfdir}/init.d/foo
#}