summaryrefslogtreecommitdiff
path: root/packages/xdiskusage/xdiskusage_1.48.bb
blob: baac5f88a3bfe4b46d658857cc5f4c0e924373bf (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
DESCRIPTION = "Xdiskusage shows graphically what is using up your disk space"
AUTHOR = "Bill Spitzak"
HOMEPAGE = "http://xdiskusage.sourceforge.net/"
SECTION = "x11/applications"
PRIORITY = "optional"
LICENSE = "GPL"
DEPENDS = "fltk"

SRC_URI = "http://xdiskusage.sourceforge.net/xdiskusage-${PV}.tgz \
           file://running_from_menu.patch;patch=1 \
           file://xdiskusage.desktop \
           file://xdiskusage.png"

EXTRA_OEMAKE = "CXXFLAGS="${CXXFLAGS} `fltk-config --cxxflags`" \
                LDLIBS="`fltk-config --ldflags`""

do_install() {
    install -d ${D}/${bindir}
    install -d ${D}/${mandir}/man1
    install -d ${D}/${datadir}/applications
    install -d ${D}/${datadir}/pixmaps
    install -m 0755 ${S}/xdiskusage ${D}/${bindir}/
    install -m 0644 ${S}/xdiskusage.1 ${D}/${mandir}/man1/
    install -m 0644 ${WORKDIR}/xdiskusage.desktop ${D}/${datadir}/applications/
    install -m 0644 ${WORKDIR}/xdiskusage.png ${D}/${datadir}/pixmaps/
}