start-stop-daemon n, better description for openntpd. add maintainer
[openwrt.git] / package / haserl / haserl-0.7.3-3.diff
1 diff -ruN haserl-0.7.3-orig/ipkg/haserl/CONTROL/control haserl-0.7.3-3/ipkg/haserl/CONTROL/control
2 --- haserl-0.7.3-orig/ipkg/haserl/CONTROL/control 1970-01-01 01:00:00.000000000 +0100
3 +++ haserl-0.7.3-3/ipkg/haserl/CONTROL/control 2005-03-06 18:13:02.000000000 +0100
4 @@ -0,0 +1,8 @@
5 +Package: haserl
6 +Priority: optional
7 +Section: net
8 +Version: [TBDL]
9 +Architecture: [TBDL]
10 +Maintainer: Nico <nthill@free.fr>
11 +Source: http://nthill.free.fr/openwrt/sources/haserl/
12 +Description: a CGI wrapper to embed shell scripts in HTML documents
13 diff -ruN haserl-0.7.3-orig/ipkg/rules haserl-0.7.3-3/ipkg/rules
14 --- haserl-0.7.3-orig/ipkg/rules 1970-01-01 01:00:00.000000000 +0100
15 +++ haserl-0.7.3-3/ipkg/rules 2005-03-08 04:10:19.000000000 +0100
16 @@ -0,0 +1,112 @@
17 +#!/usr/bin/make -f
18 +
19 +ifneq ($(strip ${IPKG_RULES_INC}),)
20 + include $(IPKG_RULES_INC)
21 +endif
22 +
23 +##
24 +
25 +PKG_VERSION := $(shell cat ./ipkg/version)
26 +CURRENT_DIR := $(shell pwd)
27 +INSTALL_DIR = $(CURRENT_DIR)/ipkg-install
28 +
29 +I_HASERL := ipkg/haserl
30 +
31 +BUILD_DEPS := \
32 +
33 +CONFIGURE_OPTS = \
34 + --enable-variable-prefix="" \
35 +
36 +##
37 +
38 +all: package
39 +
40 +
41 +.stamp-configured: $(BUILD_DEPS)
42 +
43 + rm -rf config.cache
44 + $(TARGET_CONFIGURE_OPTS) \
45 + CFLAGS="$(TARGET_CFLAGS) -DMAX_UPLOAD_KB=8192" \
46 + ac_cv_func_malloc_0_nonnull=yes \
47 + ./configure \
48 + --target=$(GNU_TARGET_NAME) \
49 + --host=$(GNU_TARGET_NAME) \
50 + --build=$(GNU_HOST_NAME) \
51 + --prefix=/usr \
52 + --exec-prefix=/usr \
53 + --bindir=/usr/bin \
54 + --datadir=/usr/share \
55 + --includedir=/usr/include \
56 + --infodir=/usr/share/info \
57 + --libdir=/usr/lib \
58 + --libexecdir=/usr/lib \
59 + --localstatedir=/var \
60 + --mandir=/usr/share/man \
61 + --sbindir=/usr/sbin \
62 + --sysconfdir=/etc \
63 + $(DISABLE_NLS) \
64 + $(CONFIGURE_OPTS) \
65 +
66 + touch .stamp-configured
67 +
68 +
69 +.stamp-built: .stamp-configured
70 +
71 + $(MAKE) \
72 + $(TARGET_CONFIGURE_OPTS) \
73 +
74 + touch .stamp-built
75 +
76 +
77 +$(INSTALL_DIR)/usr/bin/haserl: .stamp-built
78 +
79 + mkdir -p $(INSTALL_DIR)
80 +
81 + $(MAKE) \
82 + DESTDIR="$(INSTALL_DIR)" \
83 + install
84 +
85 +
86 +configure: .stamp-configured
87 +
88 +
89 +build: .stamp-built
90 +
91 +
92 +install: $(INSTALL_DIR)/usr/bin/haserl
93 +
94 +
95 +package: $(INSTALL_DIR)/usr/bin/haserl
96 +
97 + mkdir -p $(I_HASERL)/usr/bin
98 + cp -af $(INSTALL_DIR)/usr/bin/haserl $(I_HASERL)/usr/bin/
99 + $(STRIP) $(I_HASERL)/usr/bin/*
100 +
101 + chmod 0755 ipkg/*/CONTROL/
102 + chmod 0644 ipkg/*/CONTROL/control
103 +
104 + perl -pi -e "s/^Arch.*:.*/Architecture: $(ARCH)/g" ipkg/*/CONTROL/control
105 +ifneq ($(strip $(PKG_VERSION)),)
106 + perl -pi -e "s/^Vers.*:.*/Version: $(PKG_VERSION)/g" ipkg/*/CONTROL/control
107 +endif
108 +
109 + $(IPKG_BUILD) $(I_HASERL) $(IPKG_TARGET_DIR)
110 +
111 +
112 +clean:
113 +
114 + -$(MAKE) clean
115 + rm -rf .stamp-*
116 + rm -rf $(INSTALL_DIR)/usr/bin/haserl
117 + rm -rf $(INSTALL_DIR)/usr/share/haserl
118 + rm -rf $(INSTALL_DIR)/usr/share/man/man*/haserl*
119 + rm -rf $(I_HASERL)/usr
120 +
121 +
122 +control:
123 +
124 + @cat $(I_HASERL)/CONTROL/control
125 + @echo
126 +
127 +
128 +.PHONY: configure build install package clean control
129 diff -ruN haserl-0.7.3-orig/ipkg/version haserl-0.7.3-3/ipkg/version
130 --- haserl-0.7.3-orig/ipkg/version 1970-01-01 01:00:00.000000000 +0100
131 +++ haserl-0.7.3-3/ipkg/version 2005-03-06 18:12:42.000000000 +0100
132 @@ -0,0 +1 @@
133 +0.7.3-3
This page took 0.046037 seconds and 5 git commands to generate.