mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-22 09:31:53 +02:00
add jiri.brozovsky ports.
Dialog, Mathomatic, Remind, GNU cal, units. more info: http://fast10.vsb.cz/brozovsky/data/ports/ Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
This commit is contained in:
parent
19a5ec9cc1
commit
4650771084
42
dialog/Makefile
Normal file
42
dialog/Makefile
Normal file
@ -0,0 +1,42 @@
|
||||
#
|
||||
# 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:=dialog
|
||||
PKG_VERSION:=1.1-20080819
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
|
||||
PKG_SOURCE_URL:=ftp://invisible-island.net/dialog
|
||||
PKG_MD5SUM:=3caebd641a9f337b980becb4444336c5
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/dialog
|
||||
SECTION:=utils
|
||||
CATEGORY:=Utilities
|
||||
DEPENDS:=+libncurses
|
||||
TITLE:=Dialog
|
||||
URL:=http://invisible-island.net/dialog/
|
||||
endef
|
||||
|
||||
define Package/dialog/description
|
||||
A script-interpreter which provides a set of curses widgets.
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
$(call Build/Configure/Default)
|
||||
endef
|
||||
|
||||
define Package/dialog/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/dialog $(1)/usr/bin
|
||||
$(STRIP) $(1)/usr/bin/dialog
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,dialog))
|
45
gcal/Makefile
Normal file
45
gcal/Makefile
Normal file
@ -0,0 +1,45 @@
|
||||
# $Id: Makefile 5624 2006-11-23 00:29:07Z nbd $
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=gcal
|
||||
PKG_VERSION:=3.01
|
||||
PKG_RELEASE:=1
|
||||
#http://www.gnu.org/software/gcal/
|
||||
#ftp://ftp.gnu.org/pub/gnu/gcal/gcal-3.01.tar.gz
|
||||
|
||||
PKG_SOURCE:=gcal-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=ftp://ftp.gnu.org/pub/gnu/gcal/
|
||||
PKG_MD5SUM:=65f3394653829fd77f6862045112ad4f
|
||||
PKG_CAT:=zcat
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/gcal-$(PKG_VERSION)
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/gcal
|
||||
SECTION:=utils
|
||||
CATEGORY:=Utilities
|
||||
TITLE:=GCal
|
||||
URL:=http://www.gnu.org/software/gcal/
|
||||
endef
|
||||
|
||||
define Package/gcal/description
|
||||
GNU version of unix calendar program cal(1).
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
$(call Build/Configure/Default, \
|
||||
--prefix=/usr --with-linux-headers="$(LINUX_DIR)" \
|
||||
)
|
||||
endef
|
||||
|
||||
define Package/gcal/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin/
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/gcal $(1)/usr/bin/
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/gcal2txt $(1)/usr/bin/
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/txt2gcal $(1)/usr/bin/
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/tcal $(1)/usr/bin/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,gcal))
|
41
mathomatic/Makefile
Normal file
41
mathomatic/Makefile
Normal file
@ -0,0 +1,41 @@
|
||||
# $Id: Makefile 5624 2006-11-23 00:29:07Z nbd $
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=mathomatic
|
||||
PKG_VERSION:=15.0.5
|
||||
PKG_RELEASE:=1
|
||||
#http://www.panix.com/~gesslein/mathomatic-15.0.5.tar.bz2
|
||||
|
||||
PKG_SOURCE:=mathomatic-$(PKG_VERSION).tar.bz2
|
||||
PKG_SOURCE_URL:=http://www.panix.com/~gesslein
|
||||
PKG_MD5SUM:=e7dc6cc8dded760f41811aecf33cf2ea
|
||||
PKG_CAT:=bzip2 -cd
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/mathomatic-$(PKG_VERSION)
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/mathomatic
|
||||
SECTION:=utils
|
||||
CATEGORY:=Utilities
|
||||
TITLE:=Mathomatic
|
||||
URL:=http://www.panix.com/~gesslein/mathomatic-15.0.5.tar.bz2
|
||||
endef
|
||||
|
||||
define Package/mathomatic/description
|
||||
Computer algebra system.
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
$(call Build/Configure/Default, \
|
||||
--prefix=/usr --with-linux-headers="$(LINUX_DIR)" \
|
||||
)
|
||||
endef
|
||||
|
||||
define Package/mathomatic/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin/
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/mathomatic $(1)/usr/bin/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,mathomatic))
|
43
remind/Makefile
Normal file
43
remind/Makefile
Normal file
@ -0,0 +1,43 @@
|
||||
# $Id: Makefile 5624 2006-11-23 00:29:07Z nbd $
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=remind
|
||||
PKG_VERSION:=03.01.07
|
||||
PKG_RELEASE:=1
|
||||
#http://www.roaringpenguin.com/files/download/remind-03.01.07.tar.gz
|
||||
|
||||
PKG_SOURCE:=remind-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://www.roaringpenguin.com/files/download/
|
||||
PKG_MD5SUM:=9335189e78a11b78d848aeade30058d6
|
||||
PKG_CAT:=zcat
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/remind-$(PKG_VERSION)
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/remind
|
||||
SECTION:=utils
|
||||
CATEGORY:=Utilities
|
||||
TITLE:=Reminder
|
||||
URL:=http://www.roaringpenguin.com/files/download/
|
||||
endef
|
||||
|
||||
define Package/remind/description
|
||||
Remind is a powerfull commadline reminder.
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
$(call Build/Configure/Default, \
|
||||
--prefix=/usr --with-linux-headers="$(LINUX_DIR)" \
|
||||
)
|
||||
endef
|
||||
|
||||
define Package/remind/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin/
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/remind $(1)/usr/bin/
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/rem2ps $(1)/usr/bin/
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/www/rem2html $(1)/usr/bin/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,remind))
|
56
units/Makefile
Normal file
56
units/Makefile
Normal file
@ -0,0 +1,56 @@
|
||||
# $Id: Makefile 5624 2006-11-23 00:29:07Z nbd $
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=units
|
||||
PKG_VERSION:=1.88
|
||||
PKG_RELEASE:=1
|
||||
#http://ftp.gnu.org/gnu/units/units-1.88.tar.gz
|
||||
|
||||
PKG_SOURCE:=units-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://ftp.gnu.org/gnu/units
|
||||
PKG_MD5SUM:=9b2ee6e7e0e9c62741944cf33fc8a656
|
||||
PKG_CAT:=zcat
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/units-$(PKG_VERSION)
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/units
|
||||
SECTION:=utils
|
||||
CATEGORY:=Utilities
|
||||
TITLE:=Units
|
||||
URL:=http://www.gnu.org/software/units/units.html#downloading
|
||||
DEPENDS+= +libreadline
|
||||
endef
|
||||
|
||||
define Package/units/description
|
||||
Simple unit converter
|
||||
endef
|
||||
|
||||
#define Build/Configure
|
||||
# $(call Build/Configure/Default, \
|
||||
# --prefix=/usr \
|
||||
# )
|
||||
#endef
|
||||
|
||||
define Build/Configure
|
||||
(cd $(PKG_BUILD_DIR); \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(TARGET_CFLAGS) $(FPIC)" \
|
||||
UNAME_S="Linux" \
|
||||
./configure \
|
||||
--host=mipsel \
|
||||
--prefix=/usr \
|
||||
);
|
||||
endef
|
||||
|
||||
|
||||
define Package/units/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin/
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/units $(1)/usr/bin/
|
||||
$(INSTALL_DIR) $(1)/usr/share/
|
||||
$(INSTALL_DATA) $(PKG_BUILD_DIR)/units.dat $(1)/usr/share/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,units))
|
Loading…
Reference in New Issue
Block a user