> On Jan 29, 2015, at 8:24 PM, 陳韋任 <chenwj.cs97g+cyg...@g2.nctu.edu.tw> wrote:
> 
> However, `cygport install` doesn't "install" the package just created
> (apparently I misunderstand what it does).

cygport is not a package manager.  It is a package *creator*, only.

“cygport install” is basically a wrapper around “make install” in your build 
tree.  Because cygport was supposed to set up the build system to install into 
a private installation tree underneath your cygport build tree, the resulting 
files won’t end up in /usr/bin and such.  They’ll be in a subdirectory of the 
one containing the *.cygport file.

>  What should I do to make sure the package works? Thanks.

After “cygport install” say “cygport package” to create the tarball.

Then:

    $ tar tvf package.tar.xz
    (check that it looks sane)
    $ cd /
    $ tar xvf /path/to/package.tar.xz
    (use package; is everything fine?)

Finally, submit ITP message per http://cygwin.com/setup.html
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply via email to