3 include $(TOPDIR
)/rules.mk
6 PKG_VERSION
:=0.10.0+cvs20051015
9 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
).orig
10 PKG_SOURCE
:=$(PKG_NAME
)_
$(PKG_VERSION
).orig.
tar.gz
11 PKG_SOURCE_URL
:=http
://ftp.debian.org
/debian
/pool
/main
/l
/lcd4linux
/ \
12 http
://ftp.de.debian.org
/debian
/pool
/main
/l
/lcd4linux
/
13 PKG_MD5SUM
:=5b5ac629be4bb5c29104fb8f6b7fa444
16 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
18 include $(INCLUDE_DIR
)/package.mk
20 define Package
/lcd4linux
24 TITLE
:=LCD display utility
25 DESCRIPTION
:=LCD display utility.
\\\
26 LCD4Linux is a small program that grabs information from the kernel and
\\\
27 some subsystems and displays it on an external liquid crystal display.
28 URL
:=http
://lcd4linux.bulix.org
/
31 define Build
/Configure
32 (cd
$(PKG_BUILD_DIR
); rm -f config.cache
; \
33 $(TARGET_CONFIGURE_OPTS
) \
34 CFLAGS
="$(TARGET_CFLAGS)" \
35 CPPFLAGS
="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
36 LDFLAGS
="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
38 --target
=$(GNU_TARGET_NAME
) \
39 --host
=$(GNU_TARGET_NAME
) \
40 --build
=$(GNU_HOST_NAME
) \
46 --datadir=/usr
/share \
47 --includedir=/usr
/include \
48 --infodir=/usr
/share
/info \
50 --libexecdir
=/usr
/lib \
51 --localstatedir
=/var \
52 --mandir=/usr
/share
/man \
55 $(DISABLE_LARGEFILE
) \
58 --with-drivers
='all,!PNG,!RouterBoard,!X11' \
59 --with-plugins
=wireless \
64 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
65 CC
=$(TARGET_CC
) LD
=$(TARGET_CROSS
)ld \
66 CFLAGS
="$(TARGET_CFLAGS) -Wall"
69 define Package
/lcd4linux
/install
70 install -d
-m0755
$(1)/usr
/bin
71 install -m0755
$(PKG_BUILD_DIR
)/lcd4linux
$(1)/usr
/bin
/
74 $(eval
$(call BuildPackage
,lcd4linux
))