Annotation of /trunk/extras/nsm-client/nsm-client-9.50.01-r2.smage2
Parent Directory | Revision Log
Revision 2 -
(hide annotations)
(download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 11 months ago) by niro
File size: 1275 byte(s)
Fri Oct 10 13:29:42 2008 UTC (15 years, 11 months ago) by niro
File size: 1275 byte(s)
import repo
1 | niro | 2 | # $Header: /magellan-cvs/smage/nsm-client/nsm-client-9.50.01-r1.smage2,v 1.1 2006/08/30 14:17:15 niro Exp $ |
2 | |||
3 | PNAME="nsm-client" | ||
4 | PVER="9.50.01" | ||
5 | PBUILD="r2" | ||
6 | |||
7 | PCATEGORIE="net-misc" | ||
8 | STATE="unstable" | ||
9 | |||
10 | DESCRIPTION="Netsupport Manager Linux32 Client." | ||
11 | HOMEPAGE="http://www.netsupportsoftware.com/" | ||
12 | |||
13 | DEPEND=">= x11-libs/gtk2+-2.10 | ||
14 | >= gnome-base/libglade-2.5" | ||
15 | |||
16 | SRCFILE="linux-installer-${PVER}.tar.gz" | ||
17 | SRCDIR="${BUILDDIR}/install" | ||
18 | |||
19 | sminclude mtools | ||
20 | |||
21 | # fetch em at https://download.netsupportsoftware.com/Product/nsm/en/linux/installer.tar.gz | ||
22 | SRC_URI=( | ||
23 | mirror://${PNAME}/${SRCFILE} | ||
24 | mirror://${PNAME}/nsmclient.rc | ||
25 | ) | ||
26 | |||
27 | src_prepare() | ||
28 | { | ||
29 | munpack ${SRCFILE} || die | ||
30 | cd ${SRCDIR} | ||
31 | |||
32 | # unpack relevant files from included tarball | ||
33 | install -d ${SRCDIR}/nsm || die | ||
34 | tar xvzf nsm.tar.gz -C ${SRCDIR}/nsm || die | ||
35 | } | ||
36 | |||
37 | src_install() | ||
38 | { | ||
39 | cd ${SRCDIR} | ||
40 | |||
41 | # needed directories | ||
42 | minstalldir /opt/nsm-client || die | ||
43 | minstalldir /usr || die | ||
44 | |||
45 | # copy all files | ||
46 | cp -a ${SRCDIR}/nsm/* ${BINDIR}/opt/nsm-client || die | ||
47 | |||
48 | # install initscript | ||
49 | minstallrc nsmclient.rc nsmclient || die | ||
50 | |||
51 | # the nsm-client searches all run-times in /usr/nsm | ||
52 | # but we want the files in opt -> symlink them | ||
53 | mlink /opt/nsm-client ${BINDIR}/usr/nsm || die | ||
54 | |||
55 | # remove uneccessary stuff | ||
56 | rm ${BINDIR}/opt/nsm-client/uninstall || die | ||
57 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |