Gentoo Archives: gentoo-dev

From: Todd Heim <heim-gentoo@××××××××.net>
To: gentoo-dev@g.o
Subject: [gentoo-dev] .jar files into /usr/lib/${P} or /usr/bin ?
Date: Thu, 22 Aug 2002 13:39:30
Message-Id: 200208221439.21136.heim-gentoo@heim.cjb.net
1 going to submit an ebuild for xnap, but I would like to get confirmation on
2 something first.
3
4 It is a java application. the archive consist of xnap.jar xnap.sh and the
5 various README/LICENSE files. xnap.sh is a sh script to locate xnap.jar and
6 run: java -jar /path/to/xnap.jar
7
8 Now, for the question, should:
9 A) xnap.jar be placed in /usr/bin alongside xnap.sh
10 B) xnap.jar be placed in /usr/lib/xnap/ while xnap.sh goes into /usr/bin
11
12 I think B is the way to go, freenet seems to use a similar method:
13 [heim@pdq ~]$ find /usr/lib/freenet/
14 /usr/lib/freenet/
15 /usr/lib/freenet/freenet.jar
16 /usr/lib/freenet/freenet-ext.jar
17
18 --
19 t.heim