diff options
-rw-r--r-- | package/schedtool/Makefile | 31 | ||||
-rw-r--r-- | package/schedtool/patches/patch-Makefile | 17 |
2 files changed, 48 insertions, 0 deletions
diff --git a/package/schedtool/Makefile b/package/schedtool/Makefile new file mode 100644 index 000000000..f6d9c3345 --- /dev/null +++ b/package/schedtool/Makefile @@ -0,0 +1,31 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(ADK_TOPDIR)/rules.mk + +PKG_NAME:= schedtool +PKG_VERSION:= 1.3.0 +PKG_RELEASE:= 1 +PKG_HASH:= 4e002a2a619d592f7c9b9d284381ffc004d8a71c38945aa95d5d53f2e4c0c8cf +PKG_DESCR:= scheduler tool +PKG_SECTION:= sys/misc +#PKG_DEPENDS:= add dependendant package names +#PKG_BUILDDEP:= add packages which need to be compiled +PKG_URL:= http://freequaos.host.sk/schedtool/ +PKG_SITES:= http://freequaos.host.sk/schedtool/ + +# if downloaded package is not ending with .tar.xz use following +DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.bz2 + +include $(ADK_TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,SCHEDTOOL,schedtool,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION))) + +CONFIG_STYLE:= manual + +schedtool-install: + $(INSTALL_DIR) $(IDIR_SCHEDTOOL)/bin + $(INSTALL_BIN) $(WRKINST)/bin/schedtool \ + $(IDIR_SCHEDTOOL)/bin + +include $(ADK_TOPDIR)/mk/pkg-bottom.mk diff --git a/package/schedtool/patches/patch-Makefile b/package/schedtool/patches/patch-Makefile new file mode 100644 index 000000000..ee1bd32ce --- /dev/null +++ b/package/schedtool/patches/patch-Makefile @@ -0,0 +1,17 @@ +--- schedtool-1.3.0.orig/Makefile 2008-09-15 15:46:35.000000000 +0200 ++++ schedtool-1.3.0/Makefile 2015-07-25 23:34:30.404003257 +0200 +@@ -1,10 +1,10 @@ + # go on and adjust here if you don't like those flags +-CFLAGS=-Os -fomit-frame-pointer -s -pipe ++#CFLAGS=-Os -fomit-frame-pointer -s -pipe + #CFLAGS=-Wall -Os -fomit-frame-pointer -s -pipe -DDEBUG +-CC=gcc ++#CC=gcc + # likewise, if you want to change the destination prefix +-DESTDIR= +-DESTPREFIX=/usr/local ++#DESTDIR= ++#DESTPREFIX=/usr/local + MANDIR=$(DESTPREFIX)/share/man/man8 + GZIP=gzip -9 + TARGET=schedtool |