Root/plucker/Makefile.bad

1include $(TOPDIR)/rules.mk
2
3PKG_NAME:=plucker
4PKG_VERSION:=1.8
5PKG_RELEASE:=1
6
7PKG_SOURCE:=$(PKG_NAME)_src-$(PKG_VERSION).tar.bz2
8    PKG_SOURCE_URL:=http://downloads.plkr.org/1.8/
9    PKG_CAT:=bzip2 -cd
10
11PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
12
13
14include $(INCLUDE_DIR)/package.mk
15
16define Package/plucker
17    SECTION:=utils
18    CATEGORY:=Utilities
19    TITLE:=Plucker files reader (PDB)
20    DEPENDS:=+zlib +libintl +libiconv +libgconf2 +gtk +jpeg +pixman +fontconfig +libfreetype +pango +atk +libpng +DirectFB
21    URL=http://www.plkr.org
22endef
23
24define Package/plucker/description
25    Plucker can view files made by the Plucker Distiller (Project Gutenberg books, for example).
26endef
27
28#TARGET_CFLAGS+=-"I$(STAGING_DIR)/usr/include/gtk-2.0 -I$(STAGING_DIR)/usr/include"
29
30define Build/Configure
31    $(call Build/Configure/Default, \
32    --prefix=/usr \
33    --disable-palmosbuild \
34    --disable-docbuild \
35    --disable-java-distiller\
36    --enable-gtkviewer\
37    --enable-unplug \
38    --disable-explode \
39    --disable-desktopbuild, \
40    LIBS="-L$(STAGING_DIR)/usr/lib/libintl/lib -L$(STAGING_DIR)/usr/lib/libiconv/lib -L$(STAGING_DIR)/usr/lib" \
41    GTK2LIBS="-latk -lpixman -lfontconfig -lpng"\
42    )
43endef
44
45
46define Package/plucker/install
47    $(INSTALL_DIR) $(1)/usr/bin
48    $(INSTALL_BIN) $(PKG_BUILD_DIR)/viewer-GTK+2-POSIX/plucker $(1)/usr/bin/
49endef
50
51$(eval $(call BuildPackage,plucker))
52

Archive Download this file



interactive