summaryrefslogtreecommitdiff
path: root/recipes/gkrellm/gkrellm_2.2.10.bb
blob: ca13f4732ecf345e3b30bddd23b7f09a4af24ebe (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
SECTION = "x11/utils"
DESCRIPTION = "GKrellM is a GTK-based stacked monitor program."
LICENSE = "GPL"
DEPENDS = "gtk+ glib-2.0 libsm libice"

SRC_URI = "http://members.dslextreme.com/users/billw/gkrellm/gkrellm-${PV}.tar.bz2 \
           file://destdir.patch;patch=1"

inherit pkgconfig

EXTRA_OEMAKE = "'glib12=0' 'STRIP=/bin/true'"
export LINK_FLAGS = "${LDFLAGS}"
export SMC_LIBS = "-lSM -lICE"

do_install () {
	oe_runmake 'INSTALLDIR=${D}${bindir}' \
		   'SINSTALLDIR=${D}${bindir}' \
		   'MANDIR=${D}${mandir}/man1' \
		   'SMANDIR=${D}${mandir}/man1' \
		   'INCLUDEDIR=${D}${includedir}' \
		   'PKGCONFIGDIR=${D}${libdir}/pkgconfig' \
		   'LOCALEDIR=${D}${datadir}/locale' \
		   install
}