Permalink
Browse files

New recipe pmcputemp, tray applet to monitor cpu temperature

  • Loading branch information...
bkauler committed Oct 30, 2017
1 parent edac8ce commit a312311dd3025c9486db5b67f13ff5427a52bd0f
Showing with 39 additions and 0 deletions.
  1. +39 −0 quirky/meta-quirky/recipes-quirky/pmcputemp/pmcputemp_1.0.bb
@@ -0,0 +1,39 @@
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://licence.txt;md5=751419260aa954499f7abaabaa882bbe"
SRC_URI = "http://distro.ibiblio.org/quirky/quirky6/sources/alphabetical/p/pmcputemp-${PV}.tar.gz"
SRC_URI[md5sum] = "38bf4d643aee6a1989609136354a1e1e"
SRC_URI[sha256sum] = "9201bea51dc6df1fecf2540f71f926855e0943182efe881de17c1ee3fae75ae1"
#not really required, S should already be correct...
S = "${WORKDIR}/${BPN}-${PV}"
DEPENDS = "gtk+ gdk-pixbuf cairo libx11"
# xgettext reads files in src, so need autotools-brokensep...
inherit gettext pkgconfig autotools-brokensep
do_configure () {
true
}
do_compile () {
xgettext --keyword="_" pmcputemp.c about.c -o po/pmcputemp.pot
${CC} -c about.c ${CFLAGS} `pkg-config --cflags gtk+-2.0 cairo`
${CC} -c pmcputemp.c ${CFLAGS} `pkg-config --cflags gtk+-2.0 cairo`
${CC} -o pmcputemp pmcputemp.o about.o ${LDFLAGS} `pkg-config --libs gtk+-2.0 cairo` -lX11
}
do_install () {
install -d ${D}/usr/share/man/man1
install -d ${D}/usr/share/doc/nls/pmcputemp
install -d ${D}/usr/bin
install -m 755 pmcputemp ${D}/usr/bin
install -m 755 pmcputemp.sh ${D}/usr/bin
install -m 644 po/pmcputemp.pot ${D}/usr/share/doc/nls/pmcputemp
install -m 644 pmcputemp.1 ${D}/usr/share/man/man1/pmcputemp.1
}
HOMEPAGE = "http://www.murga-linux.com/puppy/viewtopic.php?t=98299"
SUMMARY = "Tray applet to monitor cpu temperature"

0 comments on commit a312311

Please sign in to comment.