-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net-misc/lksctp-tools: Bump v.1.0.21+1
- Loading branch information
Showing
3 changed files
with
66 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name: lksctp-tools | ||
version: 1.0.21 | ||
version: 1.0.21+1 | ||
category: net-misc | ||
annotations: | ||
subsets: | ||
|
61 changes: 61 additions & 0 deletions
61
packages/atoms/lang/net-misc/lksctp-tools/lksctp-tools-1.0.21.ebuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI="7" | ||
|
||
inherit flag-o-matic autotools linux-info | ||
|
||
DESCRIPTION="Tools for Linux Kernel Stream Control Transmission Protocol implementation" | ||
HOMEPAGE="http://lksctp.sourceforge.net/" | ||
SRC_URI="https://github.com/sctp/lksctp-tools/tarball/37d5f1225573b91d706a5e547d081f79963a9deb -> lksctp-tools-1.0.21-37d5f12.tar.gz" | ||
|
||
LICENSE="|| ( GPL-2+ LGPL-2.1 )" | ||
SLOT="0" | ||
KEYWORDS="*" | ||
IUSE="kernel_linux static-libs" | ||
|
||
# This is only supposed to work with Linux to begin with. | ||
DEPEND=">=sys-kernel/linux-headers-2.6" | ||
RDEPEND="" | ||
|
||
REQUIRED_USE="kernel_linux" | ||
|
||
CONFIG_CHECK="~IP_SCTP" | ||
WARNING_IP_SCTP="CONFIG_IP_SCTP:\tis not set when it should be." | ||
|
||
DOCS=( AUTHORS ChangeLog INSTALL NEWS README ROADMAP ) | ||
|
||
post_src_unpack() { | ||
mv sctp-lksctp-tools-* "${S}" | ||
} | ||
|
||
src_prepare() { | ||
default | ||
|
||
eautoreconf | ||
} | ||
|
||
src_configure() { | ||
append-flags -fno-strict-aliasing | ||
|
||
local myeconfargs=( | ||
--docdir="${EPREFIX%/}"/usr/share/doc/${PF} | ||
--enable-shared | ||
$(use_enable static-libs static) | ||
) | ||
|
||
econf "${myeconfargs[@]}" | ||
} | ||
|
||
src_install() { | ||
default | ||
|
||
dodoc doc/*txt | ||
newdoc src/withsctp/README README.withsctp | ||
|
||
find "${ED}" -name '*.la' -delete || die | ||
if ! use static-libs ; then | ||
find "${ED}" -name "*.a" -delete || die | ||
fi | ||
} | ||
|
||
# vim: filetype=ebuild |