blob: e68aa5794f85642149be486a68271b00bdf31e43 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
|
#!/bin/bash
#/**
# * @mainpage Proyecto OpenGnSys
# *
# * Documentación de la API de funciones del motor de clonación de OpenGnSys.
# *
# *
# * @file ToolsGNU.c
# * @brief Librería o clase Tools GNU used by OpenGNSys
# * @class Tools
# * @brief Herramientas gnu utilizadas por opengnsys.
# * @version 0.9
# * @warning License: GNU GPLv3+
# */
function install ()
{
[ $# = 0 ] && echo pasar url del tar.gz && return
cd /tmp
wget -O download.tgz $1
mkdir download || directorio no creado
tar xzvf download.tgz -C download
for i in `ls download`
do
cd download/$i
[ -e "configure" ] && ./configure
make && make install
cd - && rm -fr download*
done
}
function mbuffer ()
{
if [ "$1" = install ]
then
install "http://www.maier-komor.de/software/mbuffer/mbuffer-20100327.tgz"
else
return
fi
}
function ms-sys ()
{
if [ "$1" = install ]
then
install "http://downloads.sourceforge.net/project/ms-sys/ms-sys%20development/2.1.5/ms-sys-2.1.5.tar.gz"
else
return
fi
}
function ctorrent ()
{
if [ "$1" = install ]
then
install "http://sourceforge.net/projects/dtorrent/files/dtorrent/3.3.2/ctorrent-dnh3.3.2.tar.gz/download"
else
return
fi
}
function udpcast ()
{
if [ "$1" = install ]
then
install "http://udpcast.linux.lu/download/udpcast-20100130.tar.gz"
else
return
fi
}
function ntfs-3g ()
{
if [ "$1" = install ]
then
install "http://tuxera.com/opensource/ntfs-3g-2010.3.6.tgz"
else
return
fi
}
function partitionsaving ()
{
echo "http://damien.guibouret.free.fr/savepart.zip"
}
function awk ()
{
}
function chntpw ()
{
}
function ctorrent ()
{
}
function fdisk ()
{
}
function fsck ()
{
}
function kexec ()
{
}
function lshw ()
{
}
function mkfs ()
{
}
function mount ()
{
}
function parted ()
{
}
function partimage ()
{
}
function partprobe ()
{
}
function sfdisk ()
{
}
function umount ()
{
}
|