Browse code

obsolete

Nils Ohlmeier authored on 26/10/2002 19:07:00
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,50 +0,0 @@
1
-# Copyright 1999-2002 Gentoo Technologies, Inc.
2
-# Distributed under the terms of the GNU General Public License v2
3
-# $Header$
4
-
5
-DESCRIPTION="SIP Express Router"
6
-
7
-HOMEPAGE="http://www.iptel.org/ser"
8
-SRC_URI="http://download.berlios.de/${P}.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
-
18
-S="${WORKDIR}/sip_router"
19
-
20
-src_compile() {
21
-	if [ ! "`use ipv6`" ]; then
22
-		cp Makefile.defs Makefile.defs.orig 
23
-		sed -e "s/-DUSE_IPV6//g" Makefile.defs.orig > Makefile.defs;
24
-	fi
25
-	make CFLAGS="${CFLAGS}" all || die
26
-	cd utils/gen_ha1
27
-	make || die
28
-}
29
-
30
-src_install () {
31
-	make install \
32
-		bin-prefix=${D}/usr/sbin \
33
-		bin-dir="" \
34
-		cfg-prefix=${D}/etc \
35
-		cfg-dir=ser/ \
36
-		modules-prefix=${D}/usr/lib/ser \
37
-		modules-dir=modules \
38
-		man-prefix=${D}/usr/share/man \
39
-		man-dir="" \
40
-		doc-prefix=${D}/usr/share/doc \
41
-		doc-dir=${P} || die
42
-	exeinto /etc/init.d
43
-	newexe gentoo/ser.init ser
44
-	exeinto /usr/bin
45
-	newexe utils/gen_ha1/gen_ha1 gen_ha1
46
-	exeinto /usr/sbin
47
-	newexe scripts/harv_ser.sh harv_ser.sh
48
-	newexe scripts/sc serctl
49
-	newexe scripts/ser_mysql.sh ser_mysql.sh
50
-}