aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/uci/Makefile
Commit message (Expand)AuthorAgeFilesLines
* uci: update to the latest version, adds various fixesFelix Fietkau2015-08-271-2/+2
* uci: update to the latest version, fixes a regression in handling empty/comme...Felix Fietkau2015-04-091-2/+2
* uci: update to the latest version, fixes savedir issuesFelix Fietkau2015-04-031-2/+2
* uci: update to the latest version, fixes delta path / savedir issuesFelix Fietkau2015-03-311-2/+2
* uci: update to the latest versionFelix Fietkau2015-03-261-2/+2
* license info - revert r43155John Crispin2014-11-031-1/+1
* Add more license tags with SPDX identifiersJohn Crispin2014-11-031-1/+1
* Add a few SPDX tagsSteven Barth2014-11-021-1/+1
* uci: fix import with not yet existing packages, preserve config permissions o...Jo-Philipp Wich2014-04-111-3/+3
* uci: update to latest version, adds preparation for validation support and bl...Felix Fietkau2014-02-181-2/+2
* uci: update to the latest version, adds a small uci_to_blob fixFelix Fietkau2013-12-021-2/+2
* uci: upgrade to latest git versionLuka Perkov2013-10-151-2/+2
* uci: change uci_ptr checking order in uci_delete()Jo-Philipp Wich2013-09-291-2/+2
* packages: clean up the package folderJohn Crispin2013-06-211-0/+92
Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
# 
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#

include $(TOPDIR)/rules.mk

PKG_NAME:=libtool
PKG_VERSION:=2.4
PKG_RELEASE:=1

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@GNU/libtool
#PKG_MD5SUM:=aa9c5107f3ec9ef4200eb6556f3b3c29

HOST_PATCH_DIR=/dev/null

PKG_BUILD_DEPENDS:=libtool/host

PKG_BUILD_PARALLEL:=0
HOST_BUILD_PARALLEL:=0

include $(INCLUDE_DIR)/host-build.mk
include $(INCLUDE_DIR)/package.mk

CONFIGURE_PREFIX=$(STAGING_DIR)/host
export GLOBAL_LIBDIR=$(STAGING_DIR)/usr/lib

define Package/libltdl
  SECTION:=libs
  CATEGORY:=Libraries
  TITLE:=A generic dynamic object loading library
  URL:=http://www.gnu.org/software/libtool/
endef

define Build/InstallDev
	$(MAKE) -C $(PKG_BUILD_DIR) \
		bindir="$(2)/bin" \
		datadir="$(2)/share" \
		prefix="$(2)" \
		exec_prefix="$(2)" \
		install
	$(INSTALL_DIR) $(1)/usr/lib $(1)/usr/include
	mv $(2)/lib/* $(1)/usr/lib/
	mv $(2)/include/* $(1)/usr/include/
	$(SED) 's,\(hardcode_into_libs\)=yes,\1=no,g' $(2)/bin/libtool
	$(CP) $(2)/bin/libtool $(2)/bin/libtool-ucxx
	$(SED) 's,-lstdc++,-luClibc++,g' $(2)/bin/libtool-ucxx
endef

define Package/libltdl/install
	$(INSTALL_DIR) $(1)/usr/lib
	$(CP) $(PKG_BUILD_DIR)/libltdl/.libs/libltdl.so.* $(1)/usr/lib/
endef

$(eval $(call HostBuild))
$(eval $(call BuildPackage,libltdl))