-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathINSTALL
66 lines (43 loc) · 1.2 KB
/
INSTALL
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
INSTALLATION INSTRUCTIONS FOR TERM::CLI
BUILDING FROM A TARBALL
=======================
If you downloaded the distribution tarball, simply install using:
tar xzf Term-CLI-*.tar.gz
cd Term-CLI-*
perl Makefile.PL
make
make test
make install
Building a Package
------------------
The tarball repository also contains a "pkg" directory with package
building information.
Currently, there's only an RPM spec file, so you can do:
rpmbuild -tb Term-CLI-*.tar.gz
The output from "rpmbuild" should indicate where the RPM package
is written.
BUILDING FROM GIT
=================
Without Dist::Zilla
-------------------
If you cloned the repository, you can try to run:
perl Makefile.PL
make
make test
make install
Though that is *not* the same as doing it from the tarball (the
modules will not have a "$VERSION".
With Dist::Zilla
----------------
If you happen to have Dist::Zilla installed (and a lot of plugins),
you can do:
dzil clean
dzil build
cd Term-CLI-*
perl Makefile.PL
make install
Building a Package
This is similar to the above, except you first have to build a tarball:
dzil clean
dzil build
rpmbuild -tb Term-CLI-*.tar.gz