1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-22 17:05:21 +02:00

gnuplot-gfx: libtool and other fixes to make it compile again

This commit is contained in:
David Kühling 2011-03-07 23:54:30 +01:00
parent a5e3b8565c
commit 5751eb1729

View File

@ -1,7 +1,7 @@
# #
# Gnuplot package for OpenWrt. # Gnuplot package for OpenWrt.
# #
# Adapted to support LibGGI video output by # Adapted to support LibGGI/SVGAlib video output by
# David Kuehling <dvdkhlng TA gmx TOD de> # David Kuehling <dvdkhlng TA gmx TOD de>
# #
# License GPLv2 or later. NO WARRANTY. # License GPLv2 or later. NO WARRANTY.
@ -29,15 +29,17 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=gnuplot-gfx PKG_NAME:=gnuplot-gfx
PKG_ORIG_NAME=gnuplot PKG_ORIG_NAME=gnuplot
PKG_VERSION:=4.4.2 PKG_VERSION:=4.4.2
PKG_RELEASE:=2 PKG_RELEASE:=3
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_ORIG_NAME)-$(PKG_VERSION) PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_ORIG_NAME)-$(PKG_VERSION)
HOST_BUILD_DIR = $(BUILD_DIR_HOST)/$(PKG_ORIG_NAME)-$(PKG_VERSION) HOST_BUILD_DIR = $(BUILD_DIR_HOST)/$(PKG_ORIG_NAME)-$(PKG_VERSION)
PKG_FIXUP:=libtool
PKG_INSTALL=1
PKG_SOURCE:=$(PKG_ORIG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_ORIG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/gnuplot PKG_SOURCE_URL:=@SF/gnuplot
PKG_MD5SUM:=a4f0dd89f9b9334890464f687ddd9f50 PKG_MD5SUM:=a4f0dd89f9b9334890464f687ddd9f50
PKG_INSTALL=1 PKG_BUILD_DEPENDS:= gnuplot-gfx/host
PKG_BUILD_DEPENDS:= gnuplot-gfx/host libtool/host
include $(INCLUDE_DIR)/host-build.mk include $(INCLUDE_DIR)/host-build.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
@ -149,8 +151,8 @@ TARGET_CPPFLAGS += -DDEFAULTTERM=\\\"linux\\\"
TARGET_LDFLAGS+= \ TARGET_LDFLAGS+= \
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
# todo: remove that when stable # todo: remove -j when stable
MAKE_FLAGS += -j2 MAKE_FLAGS += -j2 config m4 term src docs share
# cannot disable mouse for ggi: compilation fails. (todo: fix) # cannot disable mouse for ggi: compilation fails. (todo: fix)
# --disable-mouse # --disable-mouse