summaryrefslogtreecommitdiff
path: root/packages/bitchx/bitchx_1.1.bb
blob: d99ef56d972b5553cc2d8e8fd0ccd3dcead69301 (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
35
36
37
38
39
40
41
42
43
44
45
46
DESCRIPTION = "BitchX is a IRC client"
SECTION = "console/network"

LICENSE = "BSD"
#PR = "-r1"

SRC_URI = "http://www.bitchx.org/files/source/ircii-pana-${PV}-final.tar.gz \
	   file://gcc34.patch;patch=1"
S = "${WORKDIR}/BitchX"

inherit autotools

PACKAGES += "${PN}-defmsgs ${PN}-help ${PN}-scripts ${PN}-translations"
FILES_${PN}-defmsgs = "${libdir}/bx/BitchX.*"
RDEPENDS_${PN}-defmsgs = "${PN}"
FILES_${PN}-help = "${libdir}/bx/help"
RDEPENDS_${PN}-help = "${PN}"
FILES_${PN}-scripts = "${libdir}/bx/script"
RDEPENDS_${PN}-scripts = "${PN}"
FILES_${PN}-translations = "${libdir}/bx/translation"
RDEPENDS_${PN}-translations = "${PN}"

do_configure() {
        gnu-configize
        oe_runconf
}

do_install() {
	oe_runmake install \
                    prefix=${D}${prefix} \
                    exec_prefix=${D}${exec_prefix} \
                    bindir=${D}${bindir} \
                    sbindir=${D}${sbindir} \
                    libexecdir=${D}${libexecdir} \
                    datadir=${D}${datadir} \
                    sysconfdir=${D}${sysconfdir} \
                    sharedstatedir=${D}${sharedstatedir} \
                    localstatedir=${D}${localstatedir} \
                    libdir=${D}${libdir} \
                    includedir=${D}${includedir} \
                    oldincludedir=${D}${oldincludedir} \
                    infodir=${D}${infodir} \
                    mandir=${D}${mandir}
	ln -sf ./BitchX-1.1-final ${D}${bindir}/BitchX
}