blob: cc0b1fd8fbf29228b8c5e680e239e77b89350ec1 (
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"
DEBV = "2"
PR = "r1"
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/"
|