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
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
19 +ifneq ($(strip ${IPKG_RULES_INC}),)
20 + include $(IPKG_RULES_INC)
25 +PKG_VERSION := $(shell cat ./ipkg/version)
26 +CURRENT_DIR := $(shell pwd)
27 +INSTALL_DIR = $(CURRENT_DIR)/ipkg-install
29 +I_HASERL := ipkg/haserl
34 + --enable-variable-prefix="" \
41 +.stamp-configured: $(BUILD_DEPS)
44 + $(TARGET_CONFIGURE_OPTS) \
45 + CFLAGS="$(TARGET_CFLAGS) -DMAX_UPLOAD_KB=8192" \
46 + ac_cv_func_malloc_0_nonnull=yes \
48 + --target=$(GNU_TARGET_NAME) \
49 + --host=$(GNU_TARGET_NAME) \
50 + --build=$(GNU_HOST_NAME) \
52 + --exec-prefix=/usr \
54 + --datadir=/usr/share \
55 + --includedir=/usr/include \
56 + --infodir=/usr/share/info \
58 + --libexecdir=/usr/lib \
59 + --localstatedir=/var \
60 + --mandir=/usr/share/man \
61 + --sbindir=/usr/sbin \
66 + touch .stamp-configured
69 +.stamp-built: .stamp-configured
72 + $(TARGET_CONFIGURE_OPTS) \
77 +$(INSTALL_DIR)/usr/bin/haserl: .stamp-built
79 + mkdir -p $(INSTALL_DIR)
82 + DESTDIR="$(INSTALL_DIR)" \
86 +configure: .stamp-configured
92 +install: $(INSTALL_DIR)/usr/bin/haserl
95 +package: $(INSTALL_DIR)/usr/bin/haserl
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/*
101 + chmod 0755 ipkg/*/CONTROL/
102 + chmod 0644 ipkg/*/CONTROL/control
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
109 + $(IPKG_BUILD) $(I_HASERL) $(IPKG_TARGET_DIR)
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
124 + @cat $(I_HASERL)/CONTROL/control
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