mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-04 23:21:53 +02:00
ghostscript: use ICONV notation
This commit is contained in:
parent
1528c1bc34
commit
4c4a9d8587
13
gs/Makefile
13
gs/Makefile
@ -13,13 +13,14 @@ PKG_SOURCE_URL:=http://ghostscript.com/releases/
|
|||||||
PKG_MD5SUM:=a402462478b4cdda3e1816899227b845
|
PKG_MD5SUM:=a402462478b4cdda3e1816899227b845
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
include $(INCLUDE_DIR)/nls.mk
|
||||||
|
|
||||||
define Package/ghostscript
|
define Package/ghostscript
|
||||||
SECTION:=utils
|
SECTION:=utils
|
||||||
CATEGORY:=Utilities
|
CATEGORY:=Utilities
|
||||||
TITLE:=interpreter for the PostScript language and for PDF
|
TITLE:=interpreter for the PostScript language and for PDF
|
||||||
URL:=http://pages.cs.wisc.edu/~ghost/
|
URL:=http://pages.cs.wisc.edu/~ghost/
|
||||||
DEPENDS:=+libtiff +libiconv +libpng +fontconfig +libfreetype
|
DEPENDS:=+libtiff $(ICONV_DEPENDS) +libpng +fontconfig +libfreetype @BUILD_NLS
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/ghostscript/description
|
define Package/ghostscript/description
|
||||||
@ -36,22 +37,18 @@ define Build/Prepare
|
|||||||
done
|
done
|
||||||
endef
|
endef
|
||||||
|
|
||||||
TARGET_CFLAGS+= \
|
|
||||||
-I$(STAGING_DIR)/usr/lib/libiconv/include \
|
|
||||||
|
|
||||||
TARGET_LDFLAGS+= \
|
TARGET_LDFLAGS+= \
|
||||||
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
|
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
|
||||||
-L$(STAGING_DIR)/usr/lib/libiconv/lib
|
|
||||||
|
|
||||||
CONFIGURE_ARGS += \
|
CONFIGURE_ARGS += \
|
||||||
--with-system-libtiff \
|
--with-system-libtiff \
|
||||||
--with-libiconv=gnu \
|
$(if $(ICONV_FULL),--with-libiconv=gnu) \
|
||||||
--without-x \
|
--without-x \
|
||||||
--without-jbig2dec \
|
--without-jbig2dec \
|
||||||
--without-jasper
|
--without-jasper
|
||||||
|
|
||||||
MAKE_FLAGS += \
|
MAKE_FLAGS += \
|
||||||
EXTRALIBS="-L$(STAGING_DIR)/usr/lib/libiconv/lib -L$(STAGING_DIR)/usr/lib -lfontconfig -lfreetype -liconv -ldl -Wl,-rpath-link=$(STAGING_DIR)/usr/lib" \
|
EXTRALIBS="$(ICONV_LDFLAGS) -L$(STAGING_DIR)/usr/lib -lfontconfig -lfreetype -ldl -Wl,-rpath-link=$(STAGING_DIR)/usr/lib" \
|
||||||
COMPILE_INITS="0"
|
COMPILE_INITS="0"
|
||||||
|
|
||||||
define Package/ghostscript/install
|
define Package/ghostscript/install
|
||||||
|
Loading…
Reference in New Issue
Block a user