massive Makefile cleanup, add missing 'svn:keywords' property
git-svn-id: svn://svn.openwrt.org/openwrt/packages@5348 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
#
|
||||
# Copyright (C) 2006 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
@ -10,10 +11,10 @@ include $(TOPDIR)/rules.mk
|
||||
PKG_NAME:=libffi-sable
|
||||
PKG_VERSION:=3325
|
||||
PKG_RELEASE:=3
|
||||
PKG_MD5SUM:=0c32eaaea0269c5fbe156fcd0be3e5bd
|
||||
|
||||
PKG_SOURCE_URL:=http://sablevm.org/download/snapshot/2005-01-21/
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://sablevm.org/download/snapshot/2005-01-21/
|
||||
PKG_MD5SUM:=0c32eaaea0269c5fbe156fcd0be3e5bd
|
||||
PKG_CAT:=zcat
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
@ -25,32 +26,28 @@ define Package/libffi-sable
|
||||
SECTION:=libs
|
||||
CATEGORY:=Libraries
|
||||
TITLE:=Foreign Function Interface library (for sablevm)
|
||||
DESCRIPTION:=The libffi library provides a portable, high level programming\\\
|
||||
interface to various calling conventions. This allows a programmer to\\\
|
||||
call any function specified by a call interface description at run\\\
|
||||
time.\\\
|
||||
DESCRIPTION:=\
|
||||
The libffi library provides a portable, high level programming \\\
|
||||
interface to various calling conventions. This allows a programmer to \\\
|
||||
call any function specified by a call interface description at run \\\
|
||||
time.
|
||||
URL:=http://sources.redhat.com/libffi/
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
$(call Build/Configure/Default,--enable-shared \
|
||||
--enable-static \
|
||||
--disable-debug)
|
||||
$(call Build/Configure/Default, \
|
||||
--enable-shared \
|
||||
--enable-static \
|
||||
--disable-debug \
|
||||
)
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
rm -rf $(PKG_INSTALL_DIR)
|
||||
mkdir -p $(PKG_INSTALL_DIR)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
all install
|
||||
endef
|
||||
|
||||
define Package/libffi-sable/install
|
||||
install -m0755 -d $(1)/usr/lib
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libffi.so.* $(1)/usr/lib/
|
||||
endef
|
||||
|
||||
define Build/InstallDev
|
||||
mkdir -p $(STAGING_DIR)/usr/include
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/ffi{,target}.h $(STAGING_DIR)/usr/include/
|
||||
@ -64,4 +61,9 @@ define Build/UninstallDev
|
||||
$(STAGING_DIR)/usr/lib/libffi.{a,so*}
|
||||
endef
|
||||
|
||||
define Package/libffi-sable/install
|
||||
install -d -m0755 $(1)/usr/lib
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libffi.so.* $(1)/usr/lib/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,libffi-sable))
|
||||
|
Reference in New Issue
Block a user