summaryrefslogtreecommitdiff
path: root/recipes/cdstatus/cdstatus_0.97.01.bb
blob: dd20e04aa17de01f36cf55fd400fa5c2f09f567a (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
# 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;patch=1 \
	 file://cddb_connect_to_server.c.patch;patch=1 \
	 file://cdstatus.patch;patch=1"

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}

}