Contents of /trunk/todo/frostwire/frostwire-4.13.3-r1.smage2
Parent Directory | Revision Log
Revision 2301 -
(show annotations)
(download)
Thu Jul 9 19:33:51 2009 UTC (15 years, 2 months ago) by niro
File size: 1693 byte(s)
Thu Jul 9 19:33:51 2009 UTC (15 years, 2 months ago) by niro
File size: 1693 byte(s)
-moved to 'todo'
1 | # $Header: /magellan-cvs/smage/frostwire/frostwire-4.10.9-r1.smage2,v 1.3 2007-11-10 14:06:38 niro Exp $ |
2 | |
3 | PNAME="frostwire" |
4 | PVER="4.13.3" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="net-p2p" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="An opensource fork of limewire." |
11 | HOMEPAGE="http://www.frostwire.com/" |
12 | |
13 | DEPEND=">= virtual/x11 |
14 | >= virtual/java |
15 | >= x11-libs/gtk2+-2.6.7" |
16 | |
17 | SDEPEND=">= dev-util/desktop-file-utils-0.10" |
18 | |
19 | SRCFILE="FrostWire-${PVER}-2.tar.gz" |
20 | SRCDIR="${BUILDDIR}/FrostWire-${PVER}/usr/lib/frostwire" |
21 | |
22 | sminclude mtools xdg |
23 | |
24 | SRC_URI=( |
25 | mirror://${PNAME}/${SRCFILE} |
26 | mirror://${PNAME}/frostwire.sh |
27 | mirror://${PNAME}/frostwire.png |
28 | mirror://${PNAME}/frostwire-16x16.png |
29 | mirror://${PNAME}/frostwire-32x32.png |
30 | mirror://${PNAME}/frostwire-48x48.png |
31 | ) |
32 | |
33 | src_prepare() |
34 | { |
35 | munpack ${SRCFILE} || die |
36 | } |
37 | |
38 | src_install() |
39 | { |
40 | cd ${SRCDIR} |
41 | |
42 | # needed directories |
43 | minstalldir /etc/env.d || die |
44 | minstalldir /usr/bin || die |
45 | minstalldir /usr/share/icons/hicolor/16x16/apps || die |
46 | minstalldir /usr/share/icons/hicolor/32x32/apps || die |
47 | minstalldir /usr/share/icons/hicolor/48x48/apps || die |
48 | minstalldir /opt/frostwire || die |
49 | |
50 | # java stuff |
51 | install -m0644 *.jar *.war *.properties *.ver *.sh hashes \ |
52 | ${BINDIR}/opt/frostwire || die |
53 | |
54 | # our binary |
55 | minstallexec -s frostwire.sh /usr/bin/frostwire || die |
56 | |
57 | # environment |
58 | echo "PATH=/opt/frostwire" > /etc/env.d/99frostwire || die |
59 | |
60 | # desktop icons |
61 | minstallpixmap frostwire.png || die |
62 | |
63 | local i |
64 | for i in 16x16 32x32 48x48 |
65 | do |
66 | minstallfile -s frostwire-${i}.png /usr/share/icons/hicolor/${i}/apps || die |
67 | done |
68 | |
69 | minstall_desktop_icon \ |
70 | --comment "Gnutella P2P Client" \ |
71 | --categories Network,FileTransfer,P2P \ |
72 | || die |
73 | |
74 | minstalldocs COPYING SOURCE README.txt || die |
75 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |