Browse code

- removed original packaging files - Makefile updated to use new location of files

Jan Janak authored on 20/07/2006 14:29:12
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,70 +0,0 @@
1
-# Copyright 1999-2002 Gentoo Technologies, Inc.
2
-# Distributed under the terms of the GNU General Public License v2
3
-# $Id$
4
-
5
-DESCRIPTION="SIP Express Router"
6
-
7
-HOMEPAGE="http://www.iptel.org/ser"
8
-SRC_URI="ftp://ftp.berlios.de/pub/ser/0.8.10/src/${P}_src.tar.gz"
9
-
10
-LICENSE="GPL-2"
11
-SLOT="0"
12
-KEYWORDS="~x86"
13
-
14
-DEPEND=">=sys-devel/gcc-2.95.3
15
-		>=sys-devel/bison-1.35
16
-		>=sys-devel/flex-2.5.4a
17
-		mysql? ( >=dev-db/mysql-3.23.52 )
18
-		dev-libs/expat"
19
-
20
-S="${WORKDIR}/${P}"
21
-
22
-src_compile() {
23
-	if [ ! "`use ipv6`" ]; then
24
-		cp Makefile.defs Makefile.defs.orig 
25
-		sed -e "s/-DUSE_IPV6//g" Makefile.defs.orig > Makefile.defs;
26
-	fi
27
-	local exclude="CVS radius_acc radius_auth snmp"
28
-	use mysql || exclude="${exclude} mysql"
29
-	make all CFLAGS="${CFLAGS}" \
30
-		prefix=${D}/ \
31
-		exclude_modules="${exclude}" \
32
-		cfg-prefix=/ \
33
-		cfg-target=/etc/ser/ || die
34
-}
35
-
36
-src_install () {
37
-	local exclude="CVS radius_acc radius_auth snmp"
38
-	use mysql || exclude="${exclude} mysql"
39
-	make install \
40
-		prefix=${D}/ \
41
-		exclude_modules="${exclude}" \
42
-		bin-prefix=${D}/usr/sbin \
43
-		bin-dir="" \
44
-		cfg-prefix=${D}/etc \
45
-		cfg-dir=ser/ \
46
-		cfg-target=/etc/ser \
47
-		modules-prefix=${D}/usr/lib/ser \
48
-		modules-dir=modules \
49
-		modules-target=/usr/lib/ser/modules/ \
50
-		man-prefix=${D}/usr/share/man \
51
-		man-dir="" \
52
-		doc-prefix=${D}/usr/share/doc \
53
-		doc-dir=${P} || die
54
-	exeinto /etc/init.d
55
-	newexe gentoo/ser.init ser
56
-	# fix what the Makefile don't do
57
-	exeinto /usr/sbin
58
-	newexe scripts/harv_ser.sh harv_ser.sh
59
-	rm ${D}/usr/sbin/gen_ha1
60
-	if [ "`use mysql`" ]; then
61
-		exeinto /usr/bin
62
-		newexe utils/gen_ha1/gen_ha1 gen_ha1
63
-	else
64
-		rm ${D}/usr/sbin/ser_mysql.sh
65
-	fi
66
-}
67
-
68
-pkg_prerm () {
69
-	/etc/init.d/ser stop >/dev/null
70
-}
Browse code

Fixed gen_ha1 and ser_myqsl.sh installation.

Nils Ohlmeier authored on 14/11/2002 03:45:48
Showing 1 changed files
... ...
@@ -53,10 +53,16 @@ src_install () {
53 53
 		doc-dir=${P} || die
54 54
 	exeinto /etc/init.d
55 55
 	newexe gentoo/ser.init ser
56
+	# fix what the Makefile don't do
56 57
 	exeinto /usr/sbin
57 58
 	newexe scripts/harv_ser.sh harv_ser.sh
58
-#	exeinto /usr/bin
59
-#	newexe utils/gen_ha1/gen_ha1 gen_ha1
59
+	rm ${D}/usr/sbin/gen_ha1
60
+	if [ "`use mysql`" ]; then
61
+		exeinto /usr/bin
62
+		newexe utils/gen_ha1/gen_ha1 gen_ha1
63
+	else
64
+		rm ${D}/usr/sbin/ser_mysql.sh
65
+	fi
60 66
 }
61 67
 
62 68
 pkg_prerm () {
Browse code

New release = new ebuild

Nils Ohlmeier authored on 13/11/2002 02:31:33
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,64 @@
1
+# Copyright 1999-2002 Gentoo Technologies, Inc.
2
+# Distributed under the terms of the GNU General Public License v2
3
+# $Id$
4
+
5
+DESCRIPTION="SIP Express Router"
6
+
7
+HOMEPAGE="http://www.iptel.org/ser"
8
+SRC_URI="ftp://ftp.berlios.de/pub/ser/0.8.10/src/${P}_src.tar.gz"
9
+
10
+LICENSE="GPL-2"
11
+SLOT="0"
12
+KEYWORDS="~x86"
13
+
14
+DEPEND=">=sys-devel/gcc-2.95.3
15
+		>=sys-devel/bison-1.35
16
+		>=sys-devel/flex-2.5.4a
17
+		mysql? ( >=dev-db/mysql-3.23.52 )
18
+		dev-libs/expat"
19
+
20
+S="${WORKDIR}/${P}"
21
+
22
+src_compile() {
23
+	if [ ! "`use ipv6`" ]; then
24
+		cp Makefile.defs Makefile.defs.orig 
25
+		sed -e "s/-DUSE_IPV6//g" Makefile.defs.orig > Makefile.defs;
26
+	fi
27
+	local exclude="CVS radius_acc radius_auth snmp"
28
+	use mysql || exclude="${exclude} mysql"
29
+	make all CFLAGS="${CFLAGS}" \
30
+		prefix=${D}/ \
31
+		exclude_modules="${exclude}" \
32
+		cfg-prefix=/ \
33
+		cfg-target=/etc/ser/ || die
34
+}
35
+
36
+src_install () {
37
+	local exclude="CVS radius_acc radius_auth snmp"
38
+	use mysql || exclude="${exclude} mysql"
39
+	make install \
40
+		prefix=${D}/ \
41
+		exclude_modules="${exclude}" \
42
+		bin-prefix=${D}/usr/sbin \
43
+		bin-dir="" \
44
+		cfg-prefix=${D}/etc \
45
+		cfg-dir=ser/ \
46
+		cfg-target=/etc/ser \
47
+		modules-prefix=${D}/usr/lib/ser \
48
+		modules-dir=modules \
49
+		modules-target=/usr/lib/ser/modules/ \
50
+		man-prefix=${D}/usr/share/man \
51
+		man-dir="" \
52
+		doc-prefix=${D}/usr/share/doc \
53
+		doc-dir=${P} || die
54
+	exeinto /etc/init.d
55
+	newexe gentoo/ser.init ser
56
+	exeinto /usr/sbin
57
+	newexe scripts/harv_ser.sh harv_ser.sh
58
+#	exeinto /usr/bin
59
+#	newexe utils/gen_ha1/gen_ha1 gen_ha1
60
+}
61
+
62
+pkg_prerm () {
63
+	/etc/init.d/ser stop >/dev/null
64
+}