Date:2010-07-14 09:17:08 (13 years 8 months ago)
Author:Xiangfu Liu
Commit:a9090d686ef44535e569cf3424ee096f9e1c0eb4
Message:[new package] some unfinished package. mark as BROKEN

Files: mlterm/Makefile (1 diff)
myserver/Makefile (1 diff)
sarien/Makefile (1 diff)
sarien/patches/sarien-0.7.0-nanonote1.patch (1 diff)
scummvm/Makefile (1 diff)
scummvm/patches/001_del_wrong_param_check_configure.patch (1 diff)

Change Details

mlterm/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
9include $(TOPDIR)/rules.mk
10
11PKG_NAME:=mlterm
12PKG_VERSION:=2.9.4
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15PKG_SOURCE_URL:=http://cdnetworks-kr-2.dl.sourceforge.net/project/mlterm/01%20release/mlterm-2.9.4/
16
17PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
18
19PKG_INSTALL:=1
20
21include $(INCLUDE_DIR)/package.mk
22
23define Package/mlterm
24    TITLE:=mlterm
25    SECTION:=utils
26    CATEGORY:=Utilities
27    DEPENDS:=@BROKEN
28    URL:=http://mlterm.sourceforge.net/
29endef
30
31define Package/mlterm/description
32    Mlterm is a multilingual terminal emulator on X11
33endef
34
35TARGET_CFLAGS+=
36TARGET_LDFLAGS+=
37
38CONFIGURE_ARGS +=
39
40define Package/mlterm/install
41    $(INSTALL_DIR) $(1)/usr/bin
42    $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mlterm $(1)/usr/bin/
43endef
44
45$(eval $(call BuildPackage,mlterm))
myserver/Makefile
1#
2# Author : Ernest Kugel <erik.kugel@gmail.com>
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=myserver
11PKG_VERSION:=0.9.2
12PKG_RELEASE:=1
13
14PKG_SOURCE:=myserver-$(PKG_VERSION).tar.gz
15PKG_SOURCE_URL:=ftp://ftp.gnu.org/gnu/myserver/0.9.2
16PKG_CAT:=zcat
17
18PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
19
20include $(INCLUDE_DIR)/package.mk
21
22TARGET_LDFLAGS+= \
23    -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
24
25define Package/myserver
26    SECTION:=utils
27    CATEGORY:=Utilities
28    TITLE:=MyServer is a powerful and easy to configure web server
29    URL:=http://www.myserverproject.net/index.php/Main_Page
30    DEPENDS:=@BROKEN +libgnutls-openssl
31endef
32
33define Package/myserver/description
34    MyServer is a powerful and easy to configure web server.
35    Its multi-threaded architecture makes it extremely scalable and
36    usable in large scale sites as well as in small networks, it has
37    a lot of built-in features. Share your files in minutes!
38endef
39
40define Build/Configure
41    $(call Build/Configure/Default)
42endef
43
44define Package/myserver/install
45    $(INSTALL_DIR) $(1)/usr/bin
46    $(INSTALL_BIN) $(PKG_BUILD_DIR)/myserver/myserver $(1)/usr/sbin/
47endef
48
49$(eval $(call BuildPackage,myserver))
sarien/Makefile
1# Copyright (C) 2010 OpenWrt.org
2#
3# This is free software, licensed under the GNU General Public License v2.
4#
5
6include $(TOPDIR)/rules.mk
7PKG_NAME:=sarien
8PKG_VERSION:=0.7.0
9PKG_RELEASE:=1
10PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
11PKG_SOURCE_URL:=@SF/$(PKG_NAME)
12PKG_CAT:=zcat
13PKG_BUILD_DIR:=$(BUILD_DIR)/sarien-$(PKG_VERSION)
14
15include $(INCLUDE_DIR)/package.mk
16
17define Package/sarien
18    TITLE:=Sarien
19    SECTION:=games
20    CATEGORY:=Games
21    DEPENDS:=@BROKEN +libsdl
22    URL:=http://sourceforge.net/projects/sarien/
23endef
24
25define Package/sarien/description
26    Sarien is a portable implementation of the Sierra On-Line Adventure Game Interpreter (AGI)
27endef
28
29MAKE_ARGS += ipkg
30CONFIGURE_ARGS += --with-sdl --with-alsa
31
32define Package/sarien/Build/Compile
33    $(call Build/Compile/Default)
34endef
35
36define Package/sarien/install
37    $(INSTALL_DIR) $(1)/usr/bin
38    $(INSTALL_DIR) $(1)/usr/share/sarien
39    $(INSTALL_BIN) $(PKG_INSTALL_DIR)/bin/sarien $(1)/sarien
40    $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/sarien.cfg $(1)/usr/share/sarien/sarien.cfg
41endef
42
43$(eval $(call BuildPackage,sarien))
sarien/patches/sarien-0.7.0-nanonote1.patch
1diff -urN sarien-0.7.0/etc/sarien.cfg sarien-0.7.0-nanonote/etc/sarien.cfg
2--- sarien-0.7.0/etc/sarien.cfg 2001-11-06 10:49:58.000000000 +0100
3@@ -6,8 +6,7 @@
4 # to the operating system being used.
5 #
6 # In UNIX:
7-# $HOME/.sarienrc
8-# /etc/sarien.conf
9+# /usr/share/sarien/sarien.cfg
10 #
11 # In Cygwin:
12 # /etc/sarien.conf
13diff -urN sarien-0.7.0/Makefile sarien-0.7.0-nanonote/Makefile
14--- sarien-0.7.0/Makefile 2001-09-04 04:17:00.000000000 +0200
15@@ -72,6 +72,17 @@
16     rm -Rf $(DIST)
17     sync
18
19+ipkg:
20+ rm -Rf ipkg-tmp $(DIST).ipk
21+ mkdir -p ipkg-tmp/CONTROL
22+ cp openwrt/control ipkg-tmp/CONTROL
23+ $(MAKE) DISTDIR=ipkg-tmp install
24+ ipkg-build -o root -g root ipkg-tmp
25+
26+install: all
27+ install -D -m 0755 -s --strip-program=$(STRIP) bin/sarien $(DISTDIR)$(BIN_DIR)/sarien
28+ install -D -m 0644 etc/sarien.cfg $(DISTDIR)$(DATADIR)/sarien.cfg
29+
30 chkoldver:
31     @if [ "$(OLDVER)" = "" ]; then \
32         echo "parameter missing: OLDVER=<old_version>"; \
33diff -urN sarien-0.7.0/openwrt/control sarien-0.7.0-nanonote/openwrt/control
34--- sarien-0.7.0/openwrt/control 1970-01-01 01:00:00.000000000 +0100
35@@ -0,0 +1,18 @@
36+Package: sarien
37+Version: 0.7.0-1
38+Source: http://sourceforge.net/projects/sarien/
39+Architecture: xburst
40+Maintainer: Magnus Bergman <magnusbe@algonet.se>
41+Priority: optional
42+Section: extras
43+Depends: libsdl
44+Description: An interpreter for AGI resources
45+ The old Sierra games are made with the AGI engine. Sarien
46+ is a free interpreter for AGI resources.
47+ .
48+ Games written in AGI includes:
49+ * Kings Quest I - IV
50+ * Police Quest
51+ * Leisure Suit Larry
52+ .
53+ You need the files from the original games.
54diff -urN sarien-0.7.0/Rules.in sarien-0.7.0-nanonote/Rules.in
55--- sarien-0.7.0/Rules.in 2001-09-06 14:41:36.000000000 +0200
56@@ -3,6 +3,7 @@
57 prefix = @prefix@
58 exec_prefix = @prefix@
59 BIN_DIR = @bindir@
60+DATA_DIR = @datadir@/sarien
61 LIB_DIR = @libdir@
62 MAN_DIR = @mandir@/man1
63
64diff -urN sarien-0.7.0/src/filesys/unix/path.c sarien-0.7.0-nanonote/src/filesys/unix/path.c
65--- sarien-0.7.0/src/filesys/unix/path.c 2001-08-05 01:59:48.000000000 +0200
66@@ -46,6 +46,6 @@
67 #endif
68 #endif
69
70- return "/etc/sarien.conf";
71+ return DATADIR "/sarien.cfg";
72 }
73
74diff -urN sarien-0.7.0/src/graphics/sdl/sdl.c sarien-0.7.0-nanonote/src/graphics/sdl/sdl.c
75--- sarien-0.7.0/src/graphics/sdl/sdl.c 2010-06-19 17:41:56.000000000 +0200
76@@ -460,6 +460,7 @@
77             SDL_GetError ());
78         return err_Unk;
79     }
80+ SDL_ShowCursor (SDL_DISABLE);
81
82     mode = SDL_SWSURFACE | SDL_ANYFORMAT;
83
scummvm/Makefile
1# Copyright (C) 2010 tuxbrain.com
2#
3# This is free software, licensed under the GNU General Public License v2.
4#
5
6include $(TOPDIR)/rules.mk
7
8PKG_NAME:=scummvm
9PKG_VERSION:=1.1.1
10PKG_RELEASE:=2
11
12PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
13PKG_SOURCE_URL:=@SF/$(PKG_NAME)
14PKG_CAT:=bzcat
15PKG_BUILD_DEPENDS:=+libiconv +libsdl +libsdl_sound +libsdl_mixer
16DEPENDS:=libiconv libsdl libsdl_sound libsdl_mixer
17
18include $(INCLUDE_DIR)/package.mk
19
20define Package/scummvm
21    TITLE:=free implementation of LucasArts SCUMM interpreter
22    SECTION:=games
23    CATEGORY:=Games
24    DEPENDS:=@BROKEN
25    URL:=http://www.scummvm.org/
26endef
27PKG_BUILD_DIR:=$(BUILD_DIR)/scummvm-$(PKG_VERSION)
28
29define Package/scummvm/description
30    ScummVM is a program which allows you to run certain classic graphical point-and-click adventure games, provided you already have their data files. The clever part about this: ScummVM just replaces the executables shipped with the games, allowing you to play them on systems for which they were never designed!
31endef
32
33MAKE_FLAGS += AR="mipsel-openwrt-linux-uclibc-ar cru"
34
35TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include/SDL
36
37define Build/Configure
38    $(call Build/Configure/Default, --enable-all-engines --disable-nasm --disable-mad --disable-vorbis --disable-scalers --disable-mt32emu --disable-hq-scalers --disable-indeo3)
39
40endef
41define Package/scummvm/install
42    $(INSTALL_DIR) $(1)/usr/bin
43    $(INSTALL_BIN) $(PKG_BUILD_DIR)/scummvm $(1)/usr/bin/
44endef
45
46$(eval $(call BuildPackage,scummvm))
scummvm/patches/001_del_wrong_param_check_configure.patch
1diff -cB scummvm-1.1.1/configure scummvm-1.1.1.mod/configure
2*** scummvm-1.1.1/configure 2010-04-01 00:51:54.000000000 +0200
3--- scummvm-1.1.1.mod/configure 2010-06-15 22:34:20.735635566 +0200
4***************
5*** 696,701 ****
6--- 696,703 ----
7      --disable-keymapper) _keymapper=no ;;
8      --enable-text-console) _text_console=yes ;;
9      --disable-text-console) _text_console=no ;;
10+ --disable-nls) ;;
11+ --disable-ipv6) ;;
12      --with-fluidsynth-prefix=*)
13          arg=`echo $ac_option | cut -d '=' -f 2`
14          FLUIDSYNTH_CFLAGS="-I$arg/include"
15***************
16*** 810,816 ****
17          engine_disable `echo $ac_option | cut -d '-' -f 4-`
18          ;;
19      *)
20- option_error
21          ;;
22      esac;
23  done;
24--- 812,817 ----

Archive Download the corresponding diff file



interactive