Root/plucker/Makefile

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
15include $(INCLUDE_DIR)/nls.mk
16
17define Package/plucker
18    SECTION:=utils
19    CATEGORY:=Utilities
20    TITLE:=Plucker files reader (PDB)
21    DEPENDS:=@BROKEN +zlib $(ICONV_DEPENDS) $(INTL_DEPENDS) +libgconf2 +libjpeg +pixman +fontconfig +libfreetype +pango +atk +libpng +DirectFB
22    URL=http://www.plkr.org
23endef
24
25define Package/plucker/description
26    Plucker can view files made by the Plucker Distiller (Project Gutenberg books, for example).
27endef
28
29TARGET_LDFLAGS+= -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
30
31define Build/Configure
32    $(call Build/Configure/Default, \
33    --prefix=/usr \
34    --disable-palmosbuild \
35    --disable-docbuild \
36    --disable-java-distiller\
37    --enable-gtkviewer\
38    --enable-unplug \
39    --disable-explode \
40    --disable-desktopbuild, \
41    LIBS="$(ICONV_LDFLAGS) $(INTL_LDFLAGS) -L$(STAGING_DIR)/usr/lib -lgtk-directfb-2.0 -lgdk-directfb-2.0 -latk-1.0 -lgio-2.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpangoft2-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lfreetype -lfontconfig -ljpeg -lpng -lpixman-1 -ldirectfb -ldirect -lfusion -lexpat -lz -lm"\
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