1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
9 PKG_HASH
:= 40ff4ab0247b75138a0887ed40f81c1a6184f340b77126c16d074b1075b41c20
10 PKG_DESCR
:= framebuffer utility
11 PKG_DEPENDS
:= bison-host flex-host
13 PKG_SITES
:= http
://users.telenet.be
/geertu
/Linux
/fbdev
/
16 DISTFILES
:= ${PKG_NAME}-${PKG_VERSION}.
tar.gz
18 PKG_LIBC_DEPENDS
:= uclibc-ng glibc
20 include ${ADK_TOPDIR}/mk
/package.mk
22 $(eval
$(call PKG_template
,FBSET
,fbset
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
26 INSTALL_STYLE
:= manual
29 (cd
${WRKSRC} && PATH
='${HOST_PATH}' bison
-d modes.y
)
30 (cd
${WRKSRC} && PATH
='${HOST_PATH}' flex modes.l
)
31 ${TARGET_CC} ${TARGET_CFLAGS} -I
${WRKBUILD} -c
-o \
32 ${WRKBUILD}/modes.tab.o
${WRKSRC}/modes.tab.c
33 ${TARGET_CC} ${TARGET_CFLAGS} -I
${WRKBUILD} -c
-o \
34 ${WRKBUILD}/lex.yy.o
${WRKSRC}/lex.yy.c
35 ${TARGET_CC} ${TARGET_CFLAGS} -I
${WRKBUILD} -c
-o \
36 ${WRKBUILD}/fbset.o
${WRKSRC}/fbset.c
37 ${TARGET_CC} ${TARGET_CFLAGS} -o
${WRKBUILD}/fbset \
39 ${WRKBUILD}/modes.tab.o \
43 ${INSTALL_DIR} ${IDIR_FBSET}/usr
/bin
44 ${INSTALL_DIR} ${IDIR_FBSET}/etc
45 ${CP} ${WRKBUILD}/fbset
${IDIR_FBSET}/usr
/bin
46 ${CP} .
/files
/fb.modes
${IDIR_FBSET}/etc
48 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk