mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
Kevin Roth's updates to handle a new requirement from the Cygwin folks to
package man and doc files in a slightly different location.
This commit is contained in:
parent
a8a946d71d
commit
651c8d3bc4
@ -23,34 +23,34 @@ cygwinbin:
|
|||||||
$(MAKE) -C $(top_builddir) DESTDIR=$(cygwintmp) install-strip
|
$(MAKE) -C $(top_builddir) DESTDIR=$(cygwintmp) install-strip
|
||||||
# $(STRIP) $(cygwintmp)/usr/bin/cygcurl-?.dll
|
# $(STRIP) $(cygwintmp)/usr/bin/cygcurl-?.dll
|
||||||
$(mkinstalldirs) \
|
$(mkinstalldirs) \
|
||||||
$(cygwintmp)/usr/doc/Cygwin \
|
$(cygwintmp)$(datadir)/doc/Cygwin \
|
||||||
$(cygwintmp)/usr/doc/$(PACKAGE)-$(VERSION) \
|
$(cygwintmp)$(datadir)/doc/$(PACKAGE)-$(VERSION) \
|
||||||
$(cygwintmp)-dev/usr/doc/$(PACKAGE)-$(VERSION)/libcurl \
|
$(cygwintmp)-dev$(datadir)/doc/$(PACKAGE)-$(VERSION)/libcurl \
|
||||||
$(cygwintmp)-dev/usr/doc/$(PACKAGE)-$(VERSION)/examples \
|
$(cygwintmp)-dev$(datadir)/doc/$(PACKAGE)-$(VERSION)/examples \
|
||||||
$(cygwintmp)-dev/usr/man
|
$(cygwintmp)-dev$(mandir)
|
||||||
#
|
#
|
||||||
# copy some files into the binary install dir
|
# copy some files into the binary install dir
|
||||||
cp $(srcdir)/README \
|
cp $(srcdir)/README \
|
||||||
$(cygwintmp)/usr/doc/Cygwin/$(PACKAGE)-$(VERSION)-$(CYGBUILD).README
|
$(cygwintmp)$(datadir)/doc/Cygwin/$(PACKAGE)-$(VERSION)-$(CYGBUILD).README
|
||||||
cd $(top_srcdir) ; cp CHANGES COPYING README RELEASE-NOTES docs/* \
|
cd $(top_srcdir) ; cp CHANGES COPYING README RELEASE-NOTES docs/* \
|
||||||
$(cygwintmp)/usr/doc/$(PACKAGE)-$(VERSION) ; pwd
|
$(cygwintmp)$(datadir)/doc/$(PACKAGE)-$(VERSION) ; pwd
|
||||||
cd $(cygwintmp)/usr/doc/$(PACKAGE)-$(VERSION) ; rm *.1 Makefile*
|
cd $(cygwintmp)$(datadir)/doc/$(PACKAGE)-$(VERSION) ; rm *.1 Makefile*
|
||||||
#
|
#
|
||||||
# copy some files into the -dev install dir, remove some from binary
|
# copy some files into the -dev install dir, remove some from binary
|
||||||
cp $(top_srcdir)/docs/libcurl/*.html \
|
cp $(top_srcdir)/docs/libcurl/*.html \
|
||||||
$(cygwintmp)-dev/usr/doc/$(PACKAGE)-$(VERSION)/libcurl
|
$(cygwintmp)-dev$(datadir)/doc/$(PACKAGE)-$(VERSION)/libcurl
|
||||||
cp $(top_srcdir)/docs/examples/* \
|
cp $(top_srcdir)/docs/examples/* \
|
||||||
$(cygwintmp)-dev/usr/doc/$(PACKAGE)-$(VERSION)/examples
|
$(cygwintmp)-dev$(datadir)/doc/$(PACKAGE)-$(VERSION)/examples
|
||||||
rm $(cygwintmp)-dev/usr/doc/$(PACKAGE)-$(VERSION)/examples/Makefile*
|
rm $(cygwintmp)-dev$(datadir)/doc/$(PACKAGE)-$(VERSION)/examples/Makefile*
|
||||||
cp $(top_srcdir)/docs/examples/Makefile.example \
|
cp $(top_srcdir)/docs/examples/Makefile.example \
|
||||||
$(cygwintmp)-dev/usr/doc/$(PACKAGE)-$(VERSION)/examples
|
$(cygwintmp)-dev$(datadir)/doc/$(PACKAGE)-$(VERSION)/examples
|
||||||
mv $(cygwintmp)/usr/doc/$(PACKAGE)-$(VERSION)/BINDINGS \
|
mv $(cygwintmp)$(datadir)/doc/$(PACKAGE)-$(VERSION)/BINDINGS \
|
||||||
$(cygwintmp)-dev/usr/doc/$(PACKAGE)-$(VERSION)
|
$(cygwintmp)-dev$(datadir)/doc/$(PACKAGE)-$(VERSION)
|
||||||
mv $(cygwintmp)/usr/doc/$(PACKAGE)-$(VERSION)/INTERNALS \
|
mv $(cygwintmp)$(datadir)/doc/$(PACKAGE)-$(VERSION)/INTERNALS \
|
||||||
$(cygwintmp)-dev/usr/doc/$(PACKAGE)-$(VERSION)
|
$(cygwintmp)-dev$(datadir)/doc/$(PACKAGE)-$(VERSION)
|
||||||
mv $(cygwintmp)/usr/include $(cygwintmp)-dev/usr
|
mv $(cygwintmp)/usr/include $(cygwintmp)-dev/usr
|
||||||
mv $(cygwintmp)/usr/lib $(cygwintmp)-dev/usr
|
mv $(cygwintmp)/usr/lib $(cygwintmp)-dev/usr
|
||||||
mv $(cygwintmp)/usr/man/man3 $(cygwintmp)-dev/usr/man
|
mv $(cygwintmp)$(mandir)/man3 $(cygwintmp)-dev$(mandir)
|
||||||
#
|
#
|
||||||
# create both tar files, and delete tmp folders
|
# create both tar files, and delete tmp folders
|
||||||
cd $(cygwintmp) ; tar cjf \
|
cd $(cygwintmp) ; tar cjf \
|
||||||
@ -60,4 +60,3 @@ cygwinbin:
|
|||||||
cd $(cygwintmp)-dev ; tar cjf \
|
cd $(cygwintmp)-dev ; tar cjf \
|
||||||
$(PACKAGE)-devel-$(VERSION)-$(CYGBUILD).tar.bz2 usr
|
$(PACKAGE)-devel-$(VERSION)-$(CYGBUILD).tar.bz2 usr
|
||||||
mv $(cygwintmp)-dev/*.tar.bz2 . && rm -rf $(cygwintmp)-dev
|
mv $(cygwintmp)-dev/*.tar.bz2 . && rm -rf $(cygwintmp)-dev
|
||||||
|
|
||||||
|
@ -30,14 +30,17 @@ Build Instructions (to recompile from the cygwin source tarball):
|
|||||||
Download the source (either the official release or the cygwin version),
|
Download the source (either the official release or the cygwin version),
|
||||||
unpack it (done for you if using setup.exe), then:
|
unpack it (done for you if using setup.exe), then:
|
||||||
|
|
||||||
$ ./configure --prefix=/usr
|
$ ./configure --prefix=/usr --mandir=/usr/share/man # (*)
|
||||||
$ make
|
$ make
|
||||||
$ make test # optional
|
$ make test # optional
|
||||||
$ make install # (*)
|
$ make install # (**)
|
||||||
|
|
||||||
(*) LibTool 1.4.2 had a bug related to cygwin's use of ".exe" extensions,
|
(*) The Cygwin project now (as of sometime in 2003) prefers man pages
|
||||||
|
within /usr/share/man, as opposed to the default /usr/man.
|
||||||
|
|
||||||
|
(**) LibTool 1.4.2 had a bug related to cygwin's use of ".exe" extensions,
|
||||||
such that "make install" blew up at curl.exe. See this URL for details:
|
such that "make install" blew up at curl.exe. See this URL for details:
|
||||||
http://mail.gnu.org/pipermail/libtool/2001-September/005549.html
|
http://mail.gnu.org/pipermail/libtool/2001-September/005549.html
|
||||||
The copy of ltmain.sh that is distributed with cURL includes this patch.
|
The copy of ltmain.sh that is distributed with cURL includes this patch.
|
||||||
|
|
||||||
As of curl 7.9.1, the official source compiles (under Cygwin) and tests
|
As of curl 7.9.1, the official source compiles (under Cygwin) and tests
|
||||||
@ -46,7 +49,7 @@ Build Instructions (to recompile from the cygwin source tarball):
|
|||||||
---NO SSL RELEASE---
|
---NO SSL RELEASE---
|
||||||
Same as standard, except for the configure step, which changes to:
|
Same as standard, except for the configure step, which changes to:
|
||||||
|
|
||||||
$ ./configure --prefix=/usr --without-ssl
|
$ ./configure --prefix=/usr --mandir=/usr/share/man --without-ssl
|
||||||
|
|
||||||
NOTE: the standard release is what is available via Cygwin's setup.exe;
|
NOTE: the standard release is what is available via Cygwin's setup.exe;
|
||||||
the no-ssl release is only available from the curl website
|
the no-ssl release is only available from the curl website
|
||||||
@ -85,6 +88,7 @@ Packaging Instructions:
|
|||||||
$ tar cfj curl-7.9-1-src.tar.bz2 curl-7.9-1
|
$ tar cfj curl-7.9-1-src.tar.bz2 curl-7.9-1
|
||||||
|
|
||||||
---SETUP.HINT---
|
---SETUP.HINT---
|
||||||
|
@ curl
|
||||||
sdesc: "a client that groks URLs"
|
sdesc: "a client that groks URLs"
|
||||||
ldesc: "Curl is a tool for transferring files with URL syntax,
|
ldesc: "Curl is a tool for transferring files with URL syntax,
|
||||||
supporting FTP, FTPS, HTTP, HTTPS, GOPHER, TELNET, DICT, FILE
|
supporting FTP, FTPS, HTTP, HTTPS, GOPHER, TELNET, DICT, FILE
|
||||||
@ -92,12 +96,19 @@ Packaging Instructions:
|
|||||||
FTP uploading, kerberos, HTTP form based upload, proxies,
|
FTP uploading, kerberos, HTTP form based upload, proxies,
|
||||||
cookies, user+password authentication, file transfer resume,
|
cookies, user+password authentication, file transfer resume,
|
||||||
http proxy tunneling and a busload of other useful tricks."
|
http proxy tunneling and a busload of other useful tricks."
|
||||||
category: Web Libs
|
category: Web
|
||||||
requires: cygwin openssl
|
requires: cygwin openssl
|
||||||
|
|
||||||
|
@ curl-devel
|
||||||
|
sdesc: "(lib)cURL headers, static libraries, developer docs and samples"
|
||||||
|
ldesc: "curl-devel is the developer-oriented (non-run-time) parts
|
||||||
|
of the cURL package. It includes header files, static libraries,
|
||||||
|
example source code snippets, and the libcurl man pages."
|
||||||
|
category: Web Libs Devel
|
||||||
|
requires: cygwin openssl curl
|
||||||
|
|
||||||
|
|
||||||
Cygwin port maintained by:
|
Cygwin port maintained by:
|
||||||
Kevin Roth <kproth @ users . sourceforge . net>
|
Kevin Roth <kproth @ users . sourceforge . net>
|
||||||
Questions about cURL should be directed to curl-users@cool.haxx.se.
|
Questions about cURL should be directed to curl-users@cool.haxx.se.
|
||||||
Questions about this cygwin package go to cygwin@cygwin.com.
|
Questions about this cygwin package go to cygwin@cygwin.com.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user