summaryrefslogtreecommitdiff
path: root/packages/fortune-mod/fortune-mod_1.99.1.bb
blob: a4c3b284c5f1fdb0455164fa1b6b57ef8c7b96bc (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
DESCRIPTION = "Print a random, hopefully interesting, adage"
SECTION = "console/utils"
LICENSE = "GPL"
DEPENDS = "recode-native recode"
DEBV = "2"
PR = "r2"

SRC_URI = "${DEBIAN_MIRROR}/main/f/fortune-mod/fortune-mod_${PV}.orig.tar.gz \
           ${DEBIAN_MIRROR}/main/f/fortune-mod/fortune-mod_${PV}-${DEBV}.diff.gz;patch=1"

PARALLEL_MAKE = ""
CFLAGS += '\$(DEFINES)'

do_configure() {
	unset CC LD CFLAGS LDFLAGS
	cd util && oe_runmake
}

do_install() {
	oe_runmake install prefix="${D}"
	mv -f ${D}/usr/games/fortune ${D}/${bindir}
}

FILES_${PN} += "${datadir}/games/fortunes/"