summaryrefslogtreecommitdiff
path: root/recipes/cdstatus/cdstatus_0.97.01.bb
blob: 58576f48e40e1ad911031d5640169ab00314aaf8 (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
# cdstatus OE build file

PR ="r0"
LICENSE="GPL"
HOMEPAGE = "http://cdstatus.sourceforge.net/"
FILES_${PN} += "${datadir}/cdstatus.cfg"
# need __USE_MISC to get h_addr macro in netdb.h
CFLAGS += -D__USE_MISC

SRC_URI="${SOURCEFORGE_MIRROR}/cdstatus/cdstatus-0.97.01.tar.gz \
         file://Makefile.am.patch \
         file://cddb_connect_to_server.c.patch \
         file://cdstatus.patch"

S="${WORKDIR}/cdstatus-0.97.01"

inherit autotools

do_install() {
        install -d 0755 ${D}/${bindir}
        install -d 0755 ${D}/${datadir}
        install -d 0755 ${D}/${mandir}
        install -m 0755 src/cdstatus          ${D}/${bindir}
        install -m 0644 cdstatus.cfg          ${D}/${datadir}
        install -m 0644 cdstatus.1            ${D}/${mandir}
}

SRC_URI[md5sum] = "e53d3f8759251603c980b38982a85f1e"
SRC_URI[sha256sum] = "548b5b402ee5fff34fe428eb69de560b56709337cd70c600ad21686c1321dd66"