[proaudio] [1301] fixup Makefile DESTDIR |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/proaudio Archives
]
Revision: 1301
Author: evermind
Date: 2008-08-19 02:07:11 +0200 (Tue, 19 Aug 2008)
Log Message:
-----------
fixup Makefile DESTDIR
Modified Paths:
--------------
trunk/overlays/proaudio/media-sound/jkmeter/ChangeLog
trunk/overlays/proaudio/media-sound/jkmeter/Manifest
trunk/overlays/proaudio/media-sound/jkmeter/jkmeter-0.1.0.ebuild
Modified: trunk/overlays/proaudio/media-sound/jkmeter/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-sound/jkmeter/ChangeLog 2008-08-18 09:04:13 UTC (rev 1300)
+++ trunk/overlays/proaudio/media-sound/jkmeter/ChangeLog 2008-08-19 00:07:11 UTC (rev 1301)
@@ -2,6 +2,10 @@
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 19 Aug 2008; Frieder Buerzele <evermind@xxxxxxxxxxxxx>;
+ jkmeter-0.1.0.ebuild:
+ fixup Makefile DESTDIR
+
18 Aug 2008; Frieder Buerzele <evermind@xxxxxxxxxxxxx>;
+jkmeter-0.1.0.ebuild, +metadata.xml:
initial ebuild (thx Flo)
Modified: trunk/overlays/proaudio/media-sound/jkmeter/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/jkmeter/Manifest 2008-08-18 09:04:13 UTC (rev 1300)
+++ trunk/overlays/proaudio/media-sound/jkmeter/Manifest 2008-08-19 00:07:11 UTC (rev 1301)
@@ -1,4 +1,4 @@
DIST jkmeter-0.1.0.tar.bz2 22555 RMD160 bd82a2b046a0a8956dfe1f4b33cd24a5b79b971e SHA1 c794d61073fbaa97331e8520e0d12002c383cbba SHA256 b8daafa2b02bc62c23156f6e09bacc4c943a70564f1fdbbe3d55cc742a9263b6
-EBUILD jkmeter-0.1.0.ebuild 689 RMD160 bfb1d29dd2fb67750161d3ff869aaa79195c570a SHA1 54aa71f2f9849e34caa07edfcc2c9439a9daf37b SHA256 352040374303338376bf9e0e77818c33ae500fcf85233a9b246d91351e610e38
-MISC ChangeLog 246 RMD160 db6c729b58b06737a57cf5244b79af0787a1cd8d SHA1 54af26f1c098bcd79c1838b0c975fbde4088fbdc SHA256 bb6a0a52fbc19a08203fdb3c6310dd98b6ff56863ec8ab95f33d0141ad1718b5
+EBUILD jkmeter-0.1.0.ebuild 971 RMD160 7404608f5670a971a89297d86057a237f18eb0cf SHA1 d595168e870d6305e61d821bcd60912714bcae1b SHA256 4ac1fb3693237e92de7686b491c966239406a881be6584f581b07db54ed6ed64
+MISC ChangeLog 354 RMD160 1f7713bc3236e52c9ef5da8195c844af71282885 SHA1 881b98d27590c3745de27663f72cca2ed44e9040 SHA256 faa539f829b1c75d1cc001244ebe683bbc16f6319611eafff50ff4f2b2c1da24
MISC metadata.xml 268 RMD160 facc07bd885f20615a1f2555069329c642e1a566 SHA1 2456bdb8a218c9d477d2d6ee4bf158de070c7be4 SHA256 96629b266b743f566c29158d4498edeeb1cd6b1f0cd9629e42d4f10b4da82f89
Modified: trunk/overlays/proaudio/media-sound/jkmeter/jkmeter-0.1.0.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/jkmeter/jkmeter-0.1.0.ebuild 2008-08-18 09:04:13 UTC (rev 1300)
+++ trunk/overlays/proaudio/media-sound/jkmeter/jkmeter-0.1.0.ebuild 2008-08-19 00:07:11 UTC (rev 1301)
@@ -2,6 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
+inherit exteutils
+
RESTRICT="nomirror"
DESCRIPTION="measures the latency between two jack ports with subsample accuracy"
HOMEPAGE="http://www.kokkinizita.net/linuxaudio"
@@ -17,11 +19,22 @@
>=media-libs/libclxclient-3.3.2
>=media-libs/libclalsadrv-1.2.2"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"/source
+ # fix Makefile
+ esed_check -i -e "s@\(^PREFIX.*\)@\PREFIX = /usr@g" \
+ -e "s@\(/usr/bin/install[^\$]*\)@\1\$(DESTDIR)@g" Makefile
+}
+
src_compile() {
- cd source; emake || die "make failed"
+ cd source;
+ emake || die "make failed"
}
src_install() {
- dobin source/jkmeter
- dodoc README
+ #dobin source/jkmeter
+ cd "${S}"/source
+ emake DESTDIR="${D}" install || die "install failed"
+ cd .. ; dodoc README
}