# 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;apply=yes \ file://cddb_connect_to_server.c.patch;apply=yes \ file://cdstatus.patch;apply=yes" 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"