summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2013-06-18 15:55:42 +0000
committerChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2013-06-18 15:55:42 +0000
commitae49be5f7eb9687df692e827b59ab9ad2478b1eb (patch)
treef09ccd3966c0fd1d261ac77997c1b694098cc806 /net-voip/yate
parentadd py3.3 support (diff)
downloadhistorical-ae49be5f7eb9687df692e827b59ab9ad2478b1eb.tar.gz
historical-ae49be5f7eb9687df692e827b59ab9ad2478b1eb.tar.bz2
historical-ae49be5f7eb9687df692e827b59ab9ad2478b1eb.zip
Version bump, bug 291600.
Package-Manager: portage-2.1.12.2/cvs/Linux x86_64
Diffstat (limited to 'net-voip/yate')
-rw-r--r--net-voip/yate/ChangeLog8
-rw-r--r--net-voip/yate/Manifest29
-rw-r--r--net-voip/yate/files/yate-4.3.0-ilbc-alsa-oss.patch96
-rw-r--r--net-voip/yate/metadata.xml1
-rw-r--r--net-voip/yate/yate-4.3.0.1.ebuild113
5 files changed, 222 insertions, 25 deletions
diff --git a/net-voip/yate/ChangeLog b/net-voip/yate/ChangeLog
index f869e4e2d029..3ca10c98e8d3 100644
--- a/net-voip/yate/ChangeLog
+++ b/net-voip/yate/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-voip/yate
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-voip/yate/ChangeLog,v 1.17 2013/03/02 23:11:40 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-voip/yate/ChangeLog,v 1.18 2013/06/18 15:55:32 chithanh Exp $
+
+*yate-4.3.0.1 (18 Jun 2013)
+
+ 18 Jun 2013; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+ +files/yate-4.3.0-ilbc-alsa-oss.patch, +yate-4.3.0.1.ebuild, metadata.xml:
+ Version bump, bug 291600.
02 Mar 2013; Markos Chandras <hwoarang@gentoo.org> yate-2.0.0.ebuild:
Move Qt dependencies to the new category
diff --git a/net-voip/yate/Manifest b/net-voip/yate/Manifest
index 2a8c52b0eaf4..a72e7107e9cd 100644
--- a/net-voip/yate/Manifest
+++ b/net-voip/yate/Manifest
@@ -1,33 +1,14 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
AUX yate-2.0.0-as-needed.patch 5325 SHA256 b72e87cf3280570ff66c63af3403c69f09f86298f58975381e85e167874002bb SHA512 260877ae502bb795232b80cd972a6fdacd032a219c4c972f6806aec9c53a53f82788c694f046ef584f8681921aa70df60b5d196a9bc050d2bf8ce1488c800b9e WHIRLPOOL 46c83298160ba852528f624047acdb61e5f16d1e15f5128658ef154a5771a18cde462bf9bf11a93696c92e58f946c9ec9fa06d48e736f7fd287f5ce9323354ad
AUX yate-2.0.0-cxxflags.patch 11447 SHA256 add0eba7962e0374693235914337de42acecd543abe8fda2b1c1c1e5692ab195 SHA512 94f1a13f702e46ad33b52aed4336a1c7fc270b70ea4e79d41d707190d2455c266c501897640b9df53f7341dae45e931651e8579fa931f56af115f1ff51a51b16 WHIRLPOOL 8a213665dd753e96c56c896762baeb283204db8eb4660991445ee338bf3f9d9bd2c40a5ceebc4f96ac6abe65169673588e6294229fc85de202c70054d986d895
AUX yate-2.0.0-ilbc-alsa-oss.patch 2779 SHA256 419c71dd1699043a830f534f24f415c5793e7f39968d43134152e12a81b45653 SHA512 924484438d110e66aa4cd471e004704d38f73cec739e7085884e023bf24988eaa4c6f4eda717ca023bd9fb92594691846bb71cf9a073d551f71c650c67e36340 WHIRLPOOL 76322468939dc5365a0246beb1f6766159163403f214b697b34e61e1f7fee7f5c88f72f96feca1d9c71917793248a25b23596607427c27363c7c971741a8881d
AUX yate-2.0.0-spandsp.patch 314 SHA256 986465d339c4dbb0f8399296e429254e5b6cd73fc69ae7f22df3bf17b60ff8e1 SHA512 c9e9407a204354fdfd10d94ce78707cfb01c3f8b7978c998f93f313e29242fa0aebdd8cf6ae793b131b1ce9328f19042e2d3e1fab1d99f97c559e03692f7bb85 WHIRLPOOL e05f18ab9991fc11275964814e25714481f5f48e73be61511c4641afae95e2b6d9dff91ed349d239578f892e80438af573b9556e8e7b8a6bf87b04fc36f9d383
+AUX yate-4.3.0-ilbc-alsa-oss.patch 3155 SHA256 b05f2ed4352915c8d5ba31e6d3063ccbe1b5eddf02046ad27e12f70f9b0c4c2e SHA512 d344d103d3cc3957afe7ca29b7470002af10f19f0dead3dbfbb79580dff8eb9dadaebf3178559fea797f309ac65519551160a1965460343e55a5646ced0d834d WHIRLPOOL 26f8250be5710699653608ff2343e183a2bf867bb161dfc62edf93d178db03590483ef8c98da3bc0487d4c1f78661c0e136f6a341c37805b425212a677ba3a12
AUX yate.confd 274 SHA256 1007d50abbe320b64153f12bdf33032b7a3ae9dd51507cc6b431bef2bf9f31cc SHA512 b865d094c708eb512e0c56272acaab16e563a28fbfc65a7950a0918399392d7c96db636866c0217f486acbc71e3c6b726a52a5e16872757c5a7a12311d9dd2ac WHIRLPOOL 0d465f8bef87db3d0d01e1b82839132595604f96de8ba5ebbaff61ebb8b0614c83059e7d8e56476dfdc56f2ae702be85c45f3e33dc36d7a55de0ce4525c8ddb1
AUX yate.initd 849 SHA256 cfb7b9ff028176267dfd4ff7161f80e57c0dc20ff92c1ec114f752fb378122ca SHA512 7e2c1a6154bab2b21626545cb6b4d2997da473feefb52e6d4d2a20bbc6f2df8c84f8cd1f881c948277af84495ab16f698b474ba55949d27153a47a3af1bc2fe2 WHIRLPOOL 747dfe323b4882f0f2100f5210a80be775976325fc6c17b2e672c823a8c7da0cf91944457873fb7a0ef62787a183811d5a1d98c1290ec01504803cfc5dd741c0
AUX yate.rc6 507 SHA256 2dc7b4760dd14319612d2863ed36648b9c8a88db07dc9ea82df2cf4ccd138ad8 SHA512 b8ac2c03e8d3ab8c186e31c6c0930fc194f264c6f4589b50f365f283a1460cfefd81601c046e0a77038e44b2c5bf41cffecf04e01e0b075072a2647e4fb3a021 WHIRLPOOL a6f04659a4601d5ae519efcdb950e1bbe0f39fa34b6e11021ea02e6ab3346f0376b01b34bae58762b01e576567633c72883ddc9bf1d74b73205d10449578b490
DIST yate-2.0.0-1.tar.gz 2009319 SHA256 25902b7a5119ec2f177f36f3265a379e11807dd53d7faed39fd80eaa1c8bd15a
+DIST yate-4.3.0-1.tar.gz 3826549 SHA256 74d946f92c016cbb38e0e043a4084600be158ca73f59d31d48dfe04b22df89f0 SHA512 3a9b484d77cd633092ef10a37c8c0c6dcc51e38a7b2771d0e3dd75ddd1dac5be0e2a9b99787f89cfeb38e6eb50a18b4dd3d6eb57dec632c7671c2f56331539c6 WHIRLPOOL 10a47e41e5a29ef1ed8e3adc2a25670fce1f5746d11c57f28d64643614650be6f25af6be60bf3ba7e2ecca479517d5b120ae832eeaa001c9f11df41b4968ba71
EBUILD yate-2.0.0.ebuild 3179 SHA256 492d3e04ab2ad3ebc9570b4979f7b8d616525509a0c9e51eae00cfc9b1fc2449 SHA512 8bf99c2e7b50683083aaef260f069b5fdbb7cfac368efebba88991e7f8432f44c1c066adc2678ae2d9427c0ee93cba2e095ecc7bc27bff2564dc408b58840816 WHIRLPOOL 792da34fc66592b43b307abfb86bf79a11744681495208e5b24e10acb94c6feb4b7b5e1ac8111196dbefeaef4c257505bf7ad3a519ff5c2686bdb1ed95badadd
-MISC ChangeLog 2918 SHA256 fa4f4fc227e290ebe2cc777d39baddd5dfdce0cd34baa6496b023e1ed3019db7 SHA512 5d2f18821bc5ec8baf3780ee5016fe1be580ef9f3b7936d5a71c34cd8d7305441a77cb6b88d3fdfbf39f0687b071c8cbfb66ad4dc119364151a286523e62af69 WHIRLPOOL 53e8729868c693e8a5efc58793ff6b41a0daf6a0bc358b9755bdbcefc5dc661916245a27d22b7aab2169bb20856150232e11ef892219315e86254415f8d37ea1
-MISC metadata.xml 428 SHA256 7f2dd012c5c150dada505c822a7f9baebbe0a90cd975cd72bca6d8b178382330 SHA512 fca9f92349ab77b04cdfaccc17974cb93ff3654a79f0412f1dd44053a8c87fa56799237681bbb77295c58393193aa440d0d9447e1289cc00f52b7de3b069486e WHIRLPOOL 75a288fbdae9edbbeb8bcf8b6e577bee8c3d2ef2944c0b72fa0a8a1d5398712000b1fa7c310779583a82cc8de7f03c6a43e7b2651ed806c50ab3e4efdc45954e
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.19 (GNU/Linux)
-
-iQJ8BAEBCABmBQJRMocqXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
-ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzNTVDNDczOUYzRjJEMTRGNDRGMzU2RkMw
-OUJGNEY1NEMyQkE3RjNDAAoJEAm/T1TCun884g4P/ibzidjykHqtWkT0T/PDCmnH
-eyEiR7bQ9KPdM8BnwKQkZBOaJy4Eq4DrXyS7Am8pKSgK8A1w/KytMpYxx6Lrv/G4
-HzHMwbBJ6gUdfxJTdnxAMbT8pK2heHlck7LoQ3TbLlLvzGH5Blu3HIW+MPIN6AbK
-LsOsyqcR2JbsV3rg3E/6IqsuQ/6CUFkP6eqtv4GEFMzrKiXsTww9B88ZEmodcLa4
-LkEd4JWb6QsG1f60JUAEGa3UtnXFPsmTD+tp5wv6EG36++BBCJP1ihBuvZHeYuQ8
-bVORJzL+jFOoEflMlG7nvjJv56KpTGVxW1y/E/DvxEpKCprUL4fYzxfQahNDRyTw
-gkYKxTUrq1wBGORi0BduvMd5mdVtq96NoR2LOvfFTN6//rnjYvFZ1stZdFWza7zJ
-XKELmX6K/v6fxxLRio92m6mwXY4qDaeq+2XL8yWcvo+nfZdYCavgegdDa0UYxkIr
-Afc0i0eyl6uD1TLNZsyDZt8SholJWG1dftyOJKXW9I+oXI/7N+bqxX5/lhJdyyum
-NmGyp2SBhNP+fJkkHWBocWfTNFLXszmlr3Rw3drLv/HzXZYet82abONe8JDGnn12
-6ykfqmRJgXmNXjwvtz2ELQWXTNAMnuBs18qN4wvcSojhPQhLTN5rKY9G/foCATVQ
-oRLpQXx8dE84f0t9WHKO
-=w0xv
------END PGP SIGNATURE-----
+EBUILD yate-4.3.0.1.ebuild 3019 SHA256 4fb32c1128e8b74c74385d7e0a72900f7decc8701fd4113e53ded21504bc007f SHA512 6d1bd8e86eed14082f2f28323b9ae7dcd34afead71c722d0506791f455780061c502cbfe94bd5f88cb5f7150d7e698b372949c2e3db11d0139875ef34ad5f946 WHIRLPOOL d2327e93dd750e8d96077088f46d772cdcb865ce7d790710489ef9dbe2053a7feaf1fa2b8950260189aa83e93519150e0bc3dc3b4bee539d4ee8a6cf6ebf3e59
+MISC ChangeLog 3122 SHA256 e413ec0d3321601153652d9c5dc0b438936f364377b65555f38940a04390138c SHA512 b00429ad08950d22498bc3bd8004e2e973e5cd4dae2feab8eeb3ffc2777b9e9161f0be88e8bacbebbd844030b790ece4c1c3536dcbf4a8ec585690b83da4d316 WHIRLPOOL e2b14f8a0b5a6485fbc6d5cb43aca6ade8b30890dc8626987c044f7f823a0d13f087a438cba269675356a21dcea08420aa539fb2c63200dd0f5ef6b5c22d0390
+MISC metadata.xml 511 SHA256 390341556007cd5b798eeb38f25b7b9d038dff2a5af4c2ce10cbc81d9a6b99c7 SHA512 f692b1cc138114df839b3c3cb48aabaf1deadd002fc2b6e4b25f46e37417af7ba9840e887ef990c82f510ef588e10c70fa8b2b595392693636fe35eb5365251e WHIRLPOOL 89dd7a3248abd85c59dcc7ed706aeb2a7b273c43b156473a8db2648e7dea0f2f6cdf147f622cc5e101cd7516506732651a03d0de56da7848f3a3676355180bc1
diff --git a/net-voip/yate/files/yate-4.3.0-ilbc-alsa-oss.patch b/net-voip/yate/files/yate-4.3.0-ilbc-alsa-oss.patch
new file mode 100644
index 000000000000..8a90ee55df72
--- /dev/null
+++ b/net-voip/yate/files/yate-4.3.0-ilbc-alsa-oss.patch
@@ -0,0 +1,96 @@
+diff -ur a/configure.in b/configure.in
+--- a/configure.in 2012-12-21 15:26:49.000000000 +0100
++++ b/configure.in 2013-06-18 17:38:10.292436508 +0200
+@@ -779,6 +779,8 @@
+ AC_SUBST(WANPIPE_FLAGS)
+
+ HAVE_SOUNDCARD=no
++AC_ARG_ENABLE(oss,AC_HELP_STRING([--enable-oss],[Enable OSS (default: yes)]),enable_oss=$enableval,enable_oss=yes)
++if [[ "x$enable_oss" = "xyes" ]]; then
+ AC_MSG_CHECKING([for sound card headers])
+ AC_TRY_COMPILE([
+ #include <sys/stat.h>
+@@ -797,9 +799,12 @@
+ HAVE_SOUNDCARD="yes"
+ )
+ AC_MSG_RESULT([$HAVE_SOUNDCARD])
++fi
+ AC_SUBST(HAVE_SOUNDCARD)
+
+ HAVE_ALSA=no
++AC_ARG_ENABLE(alsa,AC_HELP_STRING([--enable-alsa],[Enable ALSA (default: yes)]),enable_alsa=$enableval,enable_alsa=yes)
++if [[ "x$enable_alsa" = "xyes" ]]; then
+ AC_MSG_CHECKING([for ALSA headers])
+ AC_TRY_COMPILE([
+ #if defined(__linux__)
+@@ -816,6 +821,7 @@
+ HAVE_ALSA="yes"
+ )
+ AC_MSG_RESULT([$HAVE_ALSA])
++fi
+ AC_SUBST(HAVE_ALSA)
+
+ # check for Mac OS X audio headers
+@@ -878,20 +884,36 @@
+
+ HAVE_ILBC=no
+ ILBC_INC=""
+-AC_ARG_ENABLE(ilbc,AC_HELP_STRING([--enable-ilbc],[Enable iLBC codec (default: yes)]),want_ilbc=$enableval,want_ilbc=yes)
+-if [[ "x$want_ilbc" = "xyes" ]]; then
+-AC_MSG_CHECKING([for iLBC reference in libs])
+- basedir=`cd "$srcdir" && pwd`
+- incilbc="libs/ilbc"
+- if [[ -f "$basedir/$incilbc/iLBC_encode.h" ]]; then
++SYSTEM_ILBC=no
++AC_ARG_ENABLE(ilbc,AC_HELP_STRING([--enable-ilbc],[Enable iLBC codec (default: yes)]),ac_cv_use_ilbc=$enableval,ac_cv_use_ilbc=yes)
++if [[ "x$ac_cv_use_ilbc" = "xyes" ]]; then
++ for i in /usr/include /usr/include/ilbc /usr/local/include /usr/local/include/ilbc; do
++ ac_cv_use_ilbc="$i"
++ test -f "$ac_cv_use_ilbc/iLBC_encode.h" && break
++ done
++fi
++if [[ "x$ac_cv_use_ilbc" != "xno" ]]; then
++ AC_MSG_CHECKING([for iLBC_encode.h in $ac_cv_use_ilbc])
++ if [[ -f "$ac_cv_use_ilbc/iLBC_encode.h" ]]; then
++ HAVE_ILBC=yes
++ ILBC_INC="-I$ac_cv_use_ilbc"
++ SYSTEM_ILBC=yes
++ else
++ AC_MSG_CHECKING([for iLBC in libs])
++ basedir=`cd "$srcdir" && pwd`
++ incilbc="libs/ilbc"
++ if [[ -f "$basedir/$incilbc/iLBC_encode.h" ]]; then
+ HAVE_ILBC=yes
+ basedir=`echo "$basedir" | sed 's/\([[^\]]\)\([[[:space:]\$\"'\'']]\)/\1\\\2/g'`
+ ILBC_INC="-I$basedir/$incilbc"
++ SYSTEM_ILBC=no
+ fi
++fi
+ AC_MSG_RESULT([$HAVE_ILBC])
+ fi
+ AC_SUBST(HAVE_ILBC)
+ AC_SUBST(ILBC_INC)
++AC_SUBST(SYSTEM_ILBC)
+
+ HAVE_ILBCWR=no
+ ILBCWR_INC=""
+Nur in b: configure.in.orig.
+diff -ur a/modules/Makefile.in b/modules/Makefile.in
+--- a/modules/Makefile.in 2012-12-21 15:26:49.000000000 +0100
++++ b/modules/Makefile.in 2013-06-18 17:38:10.292436508 +0200
+@@ -344,9 +344,13 @@
+ server/lksctp.yate: EXTERNFLAGS = @SCTP_FLAGS@
+ server/lksctp.yate: EXTERNLIBS = -lsctp
+
++ifeq (@SYSTEM_ILBC@,yes)
++ilbccodec.yate: LOCALLIBS = -lilbc
++else
+ ilbccodec.yate: ../libs/ilbc/libilbc.a
+-ilbccodec.yate: LOCALFLAGS = @ILBC_INC@
+ ilbccodec.yate: LOCALLIBS = -L../libs/ilbc -lilbc
++endif
++ilbccodec.yate: LOCALFLAGS = @ILBC_INC@
+
+ ilbcwebrtc.yate: ../libs/miniwebrtc/libminiwebrtc.a
+ ilbcwebrtc.yate: LOCALFLAGS = @ILBCWR_INC@ -I@top_srcdir@/libs/miniwebrtc/audio/common/processing -I@top_srcdir@/libs/miniwebrtc
+Nur in b/modules: Makefile.in.orig.
diff --git a/net-voip/yate/metadata.xml b/net-voip/yate/metadata.xml
index 82dbce6b1d4e..99f1ab1b9781 100644
--- a/net-voip/yate/metadata.xml
+++ b/net-voip/yate/metadata.xml
@@ -3,6 +3,7 @@
<pkgmetadata>
<herd>voip</herd>
<use>
+ <flag name='dahdi'>Enable the DAHDI driver for Digium compatible hardware</flag>
<flag name='h323'>Build H.323 Channel plugin</flag>
<flag name='ilbc'>Build ILBC codec plugin</flag>
<flag name='sctp'>
diff --git a/net-voip/yate/yate-4.3.0.1.ebuild b/net-voip/yate/yate-4.3.0.1.ebuild
new file mode 100644
index 000000000000..9f1c7668a984
--- /dev/null
+++ b/net-voip/yate/yate-4.3.0.1.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-voip/yate/yate-4.3.0.1.ebuild,v 1.1 2013/06/18 15:55:32 chithanh Exp $
+
+EAPI=5
+
+inherit autotools eutils multilib versionator
+
+DESCRIPTION="Yet Another Telephony Engine"
+HOMEPAGE="http://yate.null.ro/"
+SRC_URI="http://yate.null.ro/tarballs/yate$(get_major_version)/$(replace_version_separator 4 - ${P}).tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="dahdi debug doc gsm h323 ilbc mysql oss postgres qt4 sctp spandsp speex sse2 ssl"
+
+RDEPEND="
+ dahdi? ( net-misc/dahdi )
+ h323? ( net-libs/h323plus )
+ gsm? ( media-sound/gsm )
+ ilbc? ( dev-libs/ilbc-rfc3951 )
+ mysql? ( virtual/mysql )
+ postgres? ( dev-db/postgresql-base )
+ qt4? ( dev-qt/qtcore:4
+ dev-qt/qtgui:4 )
+ spandsp? ( >=media-libs/spandsp-0.0.3 )
+ speex? ( media-libs/speex )
+ ssl? ( dev-libs/openssl )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S=${WORKDIR}/${PN}
+
+# NOTES:
+# doc is already built
+
+# TODO:
+# coredumper can't be used because not in the tree, bug 118716
+# wanpipe can't be used because not in the tree (but voip overlay), bug 188939
+# spandsp >= 0.0.6 fails in configure and >=0.0.5 fails in build
+# fix bug 199222 for this version
+
+src_prepare() {
+ # add Icon in yate-qt4 desktop file
+ sed -i -e '/^Exec=yate-qt4$/a Icon=null_team-32.png' \
+ clients/yate-qt4.desktop || die "sed failed"
+
+ epatch "${FILESDIR}"/${PN}-4.3.0-ilbc-alsa-oss.patch
+
+ eautoreconf
+}
+
+src_configure() {
+ # fdsize, inline, rtti: keep default values
+ # internalregex: use system
+ # coredumper: not in the tree, bug 118716
+ # wanpipe, wphwec: not in the tree, bug 188939
+ # doxygen, kdoc: no need to rebuild already built doc
+ econf \
+ --disable-internalregex \
+ --without-coredumper \
+ --disable-wanpipe \
+ --without-wphwec \
+ --without-doxygen \
+ --without-kdoc \
+ --with-archlib=$(get_libdir) \
+ --without-amrnb \
+ $(use_enable dahdi) \
+ $(use_with gsm libgsm) \
+ $(use_with h323 openh323) \
+ $(use_with h323 pwlib) \
+ $(use_enable ilbc) \
+ $(use_with mysql mysql /usr) \
+ $(use_with postgres libpq /usr) \
+ $(use_with qt4 libqt4) \
+ $(use_enable sctp) \
+ $(use_with spandsp) \
+ $(use_with speex libspeex) \
+ $(use_with ssl openssl) \
+ --disable-zaptel
+}
+
+src_compile() {
+ if use debug; then
+ emake -j1 ddebug || die "emake ddebug failed"
+ else
+ emake -j1
+ fi
+}
+
+src_test() {
+ # there is no real test suite
+ # 'make test' tries to execute non-existing ./test
+ # do not add RESTRICT="test" because it's not a failing test suite
+ :
+}
+
+src_install() {
+ emake DESTDIR="${D}" install-noapi || die "emake install-noapi failed"
+
+ dodoc ChangeLog README || die "dodoc failed"
+
+ insinto /etc/logrotate.d
+ newins packing/${PN}.logrotate ${PN} || die "newins failed"
+
+ newinitd "${FILESDIR}"/${PN}.initd ${PN} || die "newinitd failed"
+ newconfd "${FILESDIR}"/${PN}.confd ${PN} || die "newconfd failed"
+
+ if use doc; then
+ emake DESTDIR="${D}" install-api || die "emake install-api failed"
+ fi
+}