1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-09-30 01:50:23 +03:00

4th update to 2.61.2

This commit is contained in:
Xiangfu Liu 2011-08-22 15:23:53 +08:00
parent c609bba880
commit c4d594a723
2 changed files with 3 additions and 30 deletions

View File

@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
## Nombre del paquete
PKG_NAME:=4th
## version del programa que vamos incluir en el paquete
PKG_VERSION:=3.61.1
PKG_VERSION:=3.61.2
## numero de version del paquete
PKG_RELEASE:=4
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-nano.tar.gz
@ -22,7 +22,7 @@ define Package/4th
TITLE:=4th
SECTION:=Programming
CATEGORY:=prog
URL:=http://www.xs4all.nl/~thebeez/4tH/
URL:=http://thebeez.home.xs4all.nl/4tH/
endef
#El directorio donde extraeremos los fuentes y realizaremos la compilacion
#BUILD_DIR es una variable de etorno de OpenWrt es donde descomprimen/compilan los paquetes
@ -33,7 +33,7 @@ define Package/4th/description
endef
MAKE_VARS+=LIBRARIES="${PKG_INSTALL_DIR}/usr/lib" BINARIES="${PKG_INSTALL_DIR}/usr/bin"
MAKE_FLAGS+=-C $(PKG_BUILD_DIR)/sources
MAKE_FLAGS+=-C $(PKG_BUILD_DIR)/sources -f Makefile.NAN
#Definimos donde se copiaran los binarios y las librerias cuando queramos instalarlo,
#emacs genera el binario en el directorio src

View File

@ -1,27 +0,0 @@
diff --git a/sources/Makefile b/sources/Makefile
index d0f9569..a059412 100644
--- a/sources/Makefile
+++ b/sources/Makefile
@@ -15,15 +15,15 @@
#
# The following five variables may need to be changed
-LIBRARIES=/usr/lib
-INCLUDES=/usr/include
-BINARIES=/usr/local/bin
-CC=$(CROSS)gcc
-CFLAGS= -DUNIX -DZAURUS -fsigned-char -Wall -O3 -s
+LIBRARIES?=/usr/lib
+INCLUDES?=/usr/include
+BINARIES?=/usr/local/bin
+CC?=$(CROSS)gcc
+CFLAGS:=$(CFLAGS) -DUNIX -DZAURUS -fsigned-char -Wall -O3 -s
# Cross compilation variables
-LD=$(CROSS)ld
-AR=$(CROSS)ar
+LD?=$(CROSS)ld
+AR?=$(CROSS)ar
OBJ4TH = errs_4th.o save_4th.o load_4th.o free_4th.o comp_4th.o \
name_4th.o dump_4th.o exec_4th.o open_4th.o cgen_4th.o