diff options
-rw-r--r-- | app-laptop/toshset/ChangeLog | 7 | ||||
-rw-r--r-- | app-laptop/toshset/Manifest | 6 | ||||
-rw-r--r-- | app-laptop/toshset/toshset-1.75.ebuild | 30 | ||||
-rw-r--r-- | app-laptop/toshset/toshset-1.76.ebuild | 44 |
4 files changed, 53 insertions, 34 deletions
diff --git a/app-laptop/toshset/ChangeLog b/app-laptop/toshset/ChangeLog index 6d22a9152..6ae52d7a0 100644 --- a/app-laptop/toshset/ChangeLog +++ b/app-laptop/toshset/ChangeLog @@ -1,7 +1,12 @@ # ChangeLog for app-laptop/toshset -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 07 Jun 2010; Laurento Frittella (mrfree) <laurento.frittella@gmail.com> + -toshset-1.75.ebuild, +toshset-1.76.ebuild: + Version bump, cleanup, new SRC_URI, better {C,LD}FLAGS handling. Thanks to + xmv, hwoarang + 11 Jun 2009; Christian Ruppert <idl0r@gentoo.org> toshset-1.75.ebuild: Cleanup, remove unused inherit. Add missing die statement. diff --git a/app-laptop/toshset/Manifest b/app-laptop/toshset/Manifest index fc020d17b..034a6873f 100644 --- a/app-laptop/toshset/Manifest +++ b/app-laptop/toshset/Manifest @@ -1,4 +1,4 @@ -DIST toshset-1.75.tgz 78926 RMD160 2fea1245495a358af3305e62571db016a4bd18ee SHA1 7ac0cf76a673f6eec56ef884eb80ae0d7d7260db SHA256 5ee6470ac11a7b9647e8d1cee0c017f9d35dc827983907dd8058db56a5db5fc8 -EBUILD toshset-1.75.ebuild 699 RMD160 e1de5c3e736d68046474652191e75f2050ae90e8 SHA1 c7ee4931e2f7ddbb7b0577ba894cdd619b3a4007 SHA256 3da60cce284faf8cf00e2fcc9b5643287cd4a03416b662599a804550474c9da0 -MISC ChangeLog 786 RMD160 08fe24f1d0d10baad5b5f3a203a57f70c19c8b6b SHA1 962027321a9c5d7602bf3db764b30d2ace423a32 SHA256 340c042db02a9a060b7692d1ba9605b6f874a1d0c0eaecabaa6e7236b01038a2 +DIST toshset-1.76.tgz 79272 RMD160 14bc9f98f7f8f11682403cd8b6819283186700e1 SHA1 50ab750e9c9019cdd425e28518ef03123a3f4a23 SHA256 935c8bf52a315c7a942a63c68eb911195d07482c9f5bd05fb2c75131aad2ad5c +EBUILD toshset-1.76.ebuild 1210 RMD160 aea0cf22895916db9f92741af2d3ede9d17b4300 SHA1 b4ad2c205344c8e5f251fa37e9e6b5a1da95c529 SHA256 86af61ab5321bae3432e019c902680d47c8a2bfa674e248f5ccc83363c8859cb +MISC ChangeLog 1000 RMD160 557f568f13f77b95dddb90cc73c762fb7fc184cb SHA1 1c953b90c0139a69c99af411f163b87165ac5aeb SHA256 e3c23836925cd66639cedffe4fdc9068dda81562f0eb294370697f0acc1761ea MISC metadata.xml 229 RMD160 f0f6417bec31ce8baba6d476664f7210c8c84c98 SHA1 e5f94f5caadc6f843fc90bb7959570cd503676fd SHA256 3b08fca3c878bdfc4e7639f477dd542d55a4ab5dce39a475e82633071d13eb3f diff --git a/app-laptop/toshset/toshset-1.75.ebuild b/app-laptop/toshset/toshset-1.75.ebuild deleted file mode 100644 index 1aafb833a..000000000 --- a/app-laptop/toshset/toshset-1.75.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="2" - -DESCRIPTION="Utility to modify HCI/SCI controls on Toshiba Laptops" -HOMEPAGE="http://www.schwieters.org/toshset/" -SRC_URI="http://dev.gentooexperimental.org/~hwoarang/distfiles/${P}.tgz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="debug" - -DEPEND="" -RDEPEND="" - -src_prepare() { - sed -i 's/CFLAGS = -march=i486 \(-Wall @OS_CFLAGS@ @DEBUGFLAGS@\)/CFLAGS := \1 ${CFLAGS}/' "${S}/Makefile.in" || die "sed failed" -} - -src_configure(){ - econf $(use_enable debug) -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - dodoc README || die -} diff --git a/app-laptop/toshset/toshset-1.76.ebuild b/app-laptop/toshset/toshset-1.76.ebuild new file mode 100644 index 000000000..61c44cd9f --- /dev/null +++ b/app-laptop/toshset/toshset-1.76.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=2 + +inherit autotools toolchain-funcs + +DESCRIPTION="Utility to modify HCI/SCI controls on Toshiba Laptops" +HOMEPAGE="http://www.schwieters.org/toshset/" +SRC_URI="http://schwieters.org/${PN}/allVersions/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug" + +src_prepare() { + sed -i '/$(BININSTALL) novatel_3g_suspend/d' "${S}/Makefile.in" || die "sed failed" + sed -i '/$(DESTDIR)\/pm\/sleep.d\/$/d' "${S}/Makefile.in" || die "sed failed" + sed -i "s/\(^CFLAGS = -Wall @OS_CFLAGS@ @DEBUGFLAGS@$\)/\1 ${CFLAGS}/" "${S}/Makefile.in" || die "sed failed" + sed -i "/^LDFLAGS = -s/s:-s:${LDFLAGS}:" "${S}/Makefile.in" || die "sed failed" + + eautoreconf +} + +src_configure() { + econf $(use_enable debug) +} + +src_compile() { + emake CC=$(tc-getCC) CXX=$(tc-getCXX) || die "emake failed" +} + +src_install() { + emake CC=$(tc-getCC) CXX=$(tc-getCXX) \ + DESTDIR="${D}" install || die "emake install failed" + dodoc README README.video || die +} + +pkg_postinst() { + ewarn "If you want to use ${PN} under ACPI you probably need to patch your kernel." + ewarn "Check ${HOMEPAGE} for details." +} |