Gentoo Archives: gentoo-dev

From: Donnie Berkholz <dberkholz@g.o>
To: gentoo-dev@l.g.o, humpback@g.o
Subject: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-im/skype: ChangeLog skype-1.4.0.118.ebuild
Date: Sun, 07 Oct 2007 08:55:57
Message-Id: 20071007084348.GD31103@supernova
1 On 11:32 Sat 06 Oct , Gustavo Felisberto (humpback) wrote:
2 > 1.1 net-im/skype/skype-1.4.0.118.ebuild
3 >
4 > file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/skype/skype-1.4.0.118.ebuild?rev=1.1&view=markup
5 > plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/skype/skype-1.4.0.118.ebuild?rev=1.1&content-type=text/plain
6
7 > SFILENAME=${PN}_static-${PV}.tar.bz2
8 > DFILENAME=${P}.tar.bz2
9 > SRC_URI="!qt-static? ( http://download.skype.com/linux/${DFILENAME} )
10 > qt-static? ( http://download.skype.com/linux/${SFILENAME}
11 > http://felisberto.net/~humpback/${PN}-lang-${PV}.tar.bz2 )
12 > amd64? ( http://felisberto.net/~humpback/libsigc++20-2.0.17-1-from-fc5.rf.i386.tar.gz )"
13
14 > src_unpack() {
15 > if use qt-static ; then
16 > unpack $SFILENAME
17 > cd $S
18 > unpack ${PN}-lang-${PV}.tar.bz2
19 > else
20 > unpack $DFILENAME
21 > fi
22 > }
23
24 Does the default 'unpack ${A}' not do the right thing for some reason?
25 The only possibility I see is that you don't like where the language
26 tarball unpacks, but that appears to be something you created anyhow.
27
28 Quote variables that can have spaces in them: D, S, T, WORKDIR,
29 FILESDIR, DESTDIR, ROOT.
30
31 > newins ${FILESDIR}/skype.debus.config skype.conf
32 > newins ${S}/icons/SkypeBlue_${X}x${X}.png ${PN}.png
33
34 More quoting.
35
36 Thanks,
37 Donnie
38 --
39 gentoo-dev@g.o mailing list