guile2/Makefile |
| 1 | # |
| 2 | # Copyright (C) 2009 Qi Hardware Inc. |
| 3 | # Author: Xiangfu Liu <xiangfu@qi-hardware.com> |
| 4 | # |
| 5 | # This is free software, licensed under the GNU General Public License v2. |
| 6 | # See /LICENSE for more information. |
| 7 | # |
| 8 | |
| 9 | # modified 16/08/2010 |
| 10 | # author: jmoore@zedstar.org |
| 11 | |
| 12 | |
| 13 | # modified 20/02/2012 |
| 14 | # author: jnbagale@gmail.com |
| 15 | |
| 16 | # install the "guile 2" in your HOST pc for compile this package |
| 17 | |
| 18 | include $(TOPDIR)/rules.mk |
| 19 | |
| 20 | PKG_NAME:=guile |
| 21 | PKG_VERSION:=2.0.5 |
| 22 | |
| 23 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
| 24 | PKG_SOURCE_URL:=http://ftp.gnu.org/gnu/guile/ |
| 25 | |
| 26 | PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) |
| 27 | |
| 28 | PKG_FIXUP:=libtool |
| 29 | PKG_INSTALL:=1 |
| 30 | |
| 31 | include $(INCLUDE_DIR)/package.mk |
| 32 | include $(INCLUDE_DIR)/nls.mk |
| 33 | |
| 34 | define Package/guile2 |
| 35 | MAINTAINER:="Xiangfu Liu" <xiangfu@sharism.cc> |
| 36 | TITLE:=guile2 |
| 37 | SECTION:=lang |
| 38 | CATEGORY:=Languages |
| 39 | DEPENDS:=+libgmp +libpthread +libltdl +libncurses +libreadline +libffi +libunistring +gc |
| 40 | URL:=http://savannah.gnu.org/projects/guile/ |
| 41 | endef |
| 42 | |
| 43 | define Package/guile2/description |
| 44 | GNU Guile is an interpreter for Scheme, packaged as a library that you can link into your applications to give them their own scripting language. |
| 45 | endef |
| 46 | |
| 47 | # should fix issue with threads |
| 48 | CONFIGURE_ARGS += --with-libgmp-prefix --with-libunistring-prefix --with-libltdl-prefix |
| 49 | CONFIGURE_VARS += gl_cv_func_duplocale_works=yes guile_cv_use_csqrt="no, Ben NanoNote (cross-compiling)" |
| 50 | |
| 51 | define Build/InstallDev |
| 52 | $(INSTALL_DIR) \ |
| 53 | $(1)/usr/include \ |
| 54 | $(1)/usr/lib \ |
| 55 | $(1)/usr/lib/pkgconfig |
| 56 | $(CP) \ |
| 57 | $(PKG_INSTALL_DIR)/usr/lib/* \ |
| 58 | $(1)/usr/lib/ |
| 59 | $(CP) \ |
| 60 | $(PKG_INSTALL_DIR)/usr/include/* \ |
| 61 | $(1)/usr/include/ |
| 62 | $(CP) \ |
| 63 | $(PKG_INSTALL_DIR)/usr/lib/pkgconfig \ |
| 64 | $(1)/usr/lib/ |
| 65 | endef |
| 66 | |
| 67 | define Package/guile2/install |
| 68 | $(INSTALL_DIR) $(1)/usr/bin |
| 69 | $(INSTALL_DIR) $(1)/usr/lib |
| 70 | $(INSTALL_DIR) $(1)/usr/lib/guile/2.0 |
| 71 | $(INSTALL_DIR) $(1)/usr/share/guile/2.0 |
| 72 | |
| 73 | $(CP) \ |
| 74 | $(PKG_INSTALL_DIR)/usr/bin/* \ |
| 75 | $(1)/usr/bin/ |
| 76 | $(CP) \ |
| 77 | $(PKG_INSTALL_DIR)/usr/lib/libguile*.so* \ |
| 78 | $(1)/usr/lib/ |
| 79 | $(CP) \ |
| 80 | $(PKG_INSTALL_DIR)/usr/lib/guile/2.0/* \ |
| 81 | $(1)/usr/lib/guile/2.0/ |
| 82 | $(CP) \ |
| 83 | $(PKG_INSTALL_DIR)/usr/share/guile/2.0/* \ |
| 84 | $(1)/usr/share/guile/2.0/ |
| 85 | |
| 86 | endef |
| 87 | |
| 88 | $(eval $(call RequireCommand,guile,$(PKG_NAME) requires guile on the host system.)) |
| 89 | $(eval $(call BuildPackage,guile2)) |
libunistring/Makefile |
6 | 6 | # See /LICENSE for more information. |
7 | 7 | # |
8 | 8 | |
| 9 | # modified 20/02/2012 |
| 10 | # author: jnbagale@gmail.com |
| 11 | |
9 | 12 | include $(TOPDIR)/rules.mk |
10 | 13 | |
11 | 14 | PKG_NAME:=libunistring |
12 | | PKG_VERSION:=0.9.2.1 |
| 15 | PKG_VERSION:=0.9.3 |
13 | 16 | |
14 | 17 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
15 | 18 | PKG_SOURCE_URL:=http://ftp.gnu.org/gnu/$(PKG_NAME)/ |
... | ... | |
17 | 20 | PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) |
18 | 21 | |
19 | 22 | include $(INCLUDE_DIR)/package.mk |
| 23 | include $(INCLUDE_DIR)/nls.mk |
20 | 24 | |
21 | 25 | define Package/libunistring |
22 | 26 | MAINTAINER:="Bart van Strien" <bart.bes@gmail.com> |
23 | 27 | TITLE:=libunistring |
24 | 28 | SECTION:=libs |
25 | 29 | CATEGORY:=Libraries |
26 | | DEPENDS:=+libiconv |
| 30 | DEPENDS:=$(ICONV_DEPENDS) |
27 | 31 | URL:=http://savannah.gnu.org/projects/libunistring/ |
28 | 32 | endef |
29 | 33 | |