libdrm: drop older versions
[openembedded.git] / recipes / mtpaint / mtpaint_3.02.bb
blobaf0701d571bba6d72167b324a4f1037061bcee4c
1 DESCRIPTION = "mtPaint is a simple painting program"
2 SECTION = "x11/graphics"
3 DEPENDS = "gtk+ jpeg"
4 HOMEPAGE = "http://mtpaint.sf.net"
5 PR = "r1"
7 SRC_URI = "${SOURCEFORGE_MIRROR}/mtpaint/mtpaint-3.02.tar.bz2"
9 do_configure() {
10 /bin/bash ./configure gtk2
11 cat > _conf.txt <<EOF
12 CC = ${CC}
13 MT_VERSION=mtPaint 3.02
14 MT_DATE=2006-10-14
15 LDFLAG = ${LDFLAGS} `pkg-config --libs gtk+-2.0` -ljpeg
16 CFLAG = ${CFLAGS} `pkg-config --cflags gtk+-2.0` -DVERSION="\"mtPaint 3.02"\" -DU_JPEG
17 subdirs = src
18 BIN_INSTALL="/usr/local/bin"
19 EOF
22 do_install() {
23 install -d ${D}${bindir}
24 install -m 0755 src/mtpaint ${D}${bindir}
28 SRC_URI[md5sum] = "828013176f135fc24ffdf16a011c51e6"
29 SRC_URI[sha256sum] = "991a1376dc23d0663d45b3b395c0e5c5542fee3906a120889583d67f854f5206"