summaryrefslogtreecommitdiff
path: root/recipes/xdiskusage/xdiskusage_1.48.bb
blob: e9f4ba4331e381340d7f02fd87c6541f99badf33 (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
28
29
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 \
           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/
}

SRC_URI[md5sum] = "a902aa9d73761ade98256c3cd5c1f533"
SRC_URI[sha256sum] = "7842aa42510bf52c367164d44a977915ad9f070864d5175157738f8d6894274b"