diff options
author | Alexandre Rostovtsev <tetromino@gentoo.org> | 2008-05-16 17:02:24 +0000 |
---|---|---|
committer | Alexandre Rostovtsev <tetromino@gentoo.org> | 2008-05-16 17:02:24 +0000 |
commit | de1bf84e2fcf3a82a1364f30508f02789d9933c0 (patch) | |
tree | ed125764b1b1fe08bec19878540cf8dd766590b1 /net-misc/sambascanner | |
parent | net-misc/mugshot: Version bump (diff) | |
download | sunrise-reviewed-de1bf84e2fcf3a82a1364f30508f02789d9933c0.tar.gz sunrise-reviewed-de1bf84e2fcf3a82a1364f30508f02789d9933c0.tar.bz2 sunrise-reviewed-de1bf84e2fcf3a82a1364f30508f02789d9933c0.zip |
net-misc/sambascanner: Version bump. Add support for --enable-debug. Tested on amd64.
svn path=/sunrise/; revision=6198
Diffstat (limited to 'net-misc/sambascanner')
-rw-r--r-- | net-misc/sambascanner/ChangeLog | 6 | ||||
-rw-r--r-- | net-misc/sambascanner/Manifest | 6 | ||||
-rw-r--r-- | net-misc/sambascanner/sambascanner-0.22.ebuild (renamed from net-misc/sambascanner/sambascanner-0.21.ebuild) | 24 |
3 files changed, 25 insertions, 11 deletions
diff --git a/net-misc/sambascanner/ChangeLog b/net-misc/sambascanner/ChangeLog index 13969682e..02ff6447e 100644 --- a/net-misc/sambascanner/ChangeLog +++ b/net-misc/sambascanner/ChangeLog @@ -1,7 +1,11 @@ # ChangeLog for net-misc/sambascanner -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 16 May 2008; Alexandre Rostovtsev (tetromino) <tetromino@gmail.com> + -sambascanner-0.21.ebuild, +sambascanner-0.22.ebuild: + Version bump. Add support for --enable-debug. Tested on amd64. + 07 Jul 2007; Mike Pagano <mpagano@gmail.com> ChangeLog: Clean up uneeded patch from old version diff --git a/net-misc/sambascanner/Manifest b/net-misc/sambascanner/Manifest index b1b180012..b64d00eaa 100644 --- a/net-misc/sambascanner/Manifest +++ b/net-misc/sambascanner/Manifest @@ -1,4 +1,4 @@ -DIST SambaScanner-0.21.tar.bz2 195458 RMD160 7bb855f27b11f39f72269fa26a8211a7004cdab4 SHA1 a8ca06fad196d65c913633bdc5e694b529ca0a41 SHA256 b360b36e146698641cc9328cbc46b328c4c9c726798151ddaa356ea2b6fa8768 -EBUILD sambascanner-0.21.ebuild 847 RMD160 d8c6a6124ba820601a4f2bfa29b77185a2f46f0e SHA1 509d0a528daa0f3e02d8992056a255ccdab913a5 SHA256 eca92c046c37a88f5da7fbe8f9449e95745276385527bebdda68936b28d7d020 -MISC ChangeLog 847 RMD160 9c4c6a0a43e2748407872dc326745d596a848d93 SHA1 3759cfe207ff19cb5a44900760dc249d9532c207 SHA256 1dd44d8c91cc7cafbe18df6065a8429c8c52e736c6bf5bc86d6b220aa2815389 +DIST SambaScanner-0.22.tar.bz2 217026 RMD160 a35a4b9f54b6db6650ec0ae5e64598dd3ad5b429 SHA1 b513c070744b99ed0ef04778567c8f07cafc0138 SHA256 748c867a6be26185f7430a2ac10a08016b95fc7e0f1b831616e64a42c29b1387 +EBUILD sambascanner-0.22.ebuild 1271 RMD160 1c69bbb12ccc2b01d86af64ec9c73c003f1386b6 SHA1 8704779f735fbcee41c99531f7b70f1e996ec1b0 SHA256 92043f4087710748b0a623621f038d4177525c6bbe57a8130a157fc2b799d21f +MISC ChangeLog 1039 RMD160 8d28c069de26856c12673a5f1f8c627efe8df208 SHA1 cb59d610110bb6db37aca4f9c2322c3b6d2cdf25 SHA256 20dd587c3a1697876f5b960cd9a6c317a368d1355d362261c847404cbaf753ed MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/net-misc/sambascanner/sambascanner-0.21.ebuild b/net-misc/sambascanner/sambascanner-0.22.ebuild index 87b3fe7cb..fcfef1343 100644 --- a/net-misc/sambascanner/sambascanner-0.21.ebuild +++ b/net-misc/sambascanner/sambascanner-0.22.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: $ -inherit eutils toolchain-funcs +inherit autotools eutils toolchain-funcs MY_P="SambaScanner-${PV}" DESCRIPTION="a tool to search a whole samba network for files" @@ -11,11 +11,12 @@ SRC_URI="http://www.johannes-bauer.com/${PN}/${MY_P}.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~x86" -IUSE="" +KEYWORDS="~amd64 ~x86" +IUSE="debug linguas_de" -DEPEND=">=net-fs/samba-3" -RDEPEND="${DEPEND}" +RDEPEND=">=net-fs/samba-3" +DEPEND="${RDEPEND} + sys-devel/gettext" S=${WORKDIR}/${MY_P} @@ -25,14 +26,23 @@ src_unpack() { fi unpack ${A} cd "${S}" + if use debug; then + #prevent configure from completely replacing our CFLAGS + sed 's:CFLAGS="-O0 -g -pthread":CFLAGS="${CFLAGS} -g -pthread":' -i configure.ac + eautoreconf + fi } src_compile() { - econf CFLAGS="${CFLAGS} -pthread" || die "configure failed" + econf CFLAGS="${CFLAGS} -pthread" $(use_enable debug) || die "configure failed" emake CC=$(tc-getCC) || die "emake failed" } src_install() { + # sambascanner's make install is broken dobin src/sambascanner bin/sambaretrieve src/smblister - dodoc ChangeLog + insinto /usr/share/${PN}/ + doins -r db + use linguas_de && domo i18n/de.mo + dodoc AUTHORS ChangeLog README sambascannerrc-example db/db.conf.sample } |