mirror of
https://github.com/dimitri/pgloader.git
synced 2025-08-08 23:37:00 +02:00
Prepare and publish a MacOSX package file.
MacOSX users will be at home when using the usual packaging installer. The binary file is installed into /usr/local/bin/pgloader and the man page is installed too.
This commit is contained in:
parent
c9f7e487e9
commit
223199e866
22
Makefile
22
Makefile
@ -1,5 +1,6 @@
|
|||||||
# pgloader build tool
|
# pgloader build tool
|
||||||
APP_NAME = pgloader
|
APP_NAME = pgloader
|
||||||
|
VERSION = 3.0.99
|
||||||
|
|
||||||
# use either sbcl or ccl
|
# use either sbcl or ccl
|
||||||
CL = sbcl
|
CL = sbcl
|
||||||
@ -42,6 +43,9 @@ DEBUILD_ROOT = /tmp/pgloader
|
|||||||
|
|
||||||
all: $(PGLOADER)
|
all: $(PGLOADER)
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -rf $(LIBS) $(QLDIR) $(MANIFEST) $(BUILDAPP) $(PGINSTALL)
|
||||||
|
|
||||||
docs:
|
docs:
|
||||||
ronn -roff pgloader.1.md
|
ronn -roff pgloader.1.md
|
||||||
|
|
||||||
@ -135,14 +139,26 @@ rpm:
|
|||||||
# intended for use on a CentOS or other RPM based system
|
# intended for use on a CentOS or other RPM based system
|
||||||
mkdir -p $(DEBUILD_ROOT) && rm -rf $(DEBUILD_ROOT)/*
|
mkdir -p $(DEBUILD_ROOT) && rm -rf $(DEBUILD_ROOT)/*
|
||||||
rsync -Ca --exclude=build/* ./ $(DEBUILD_ROOT)/
|
rsync -Ca --exclude=build/* ./ $(DEBUILD_ROOT)/
|
||||||
cd /tmp && tar czf $(HOME)/rpmbuild/SOURCES/pgloader-3.0.99.tar.gz pgloader
|
cd /tmp && tar czf $(HOME)/rpmbuild/SOURCES/pgloader-$(VERSION).tar.gz pgloader
|
||||||
cd $(DEBUILD_ROOT) && rpmbuild -ba pgloader.spec
|
cd $(DEBUILD_ROOT) && rpmbuild -ba pgloader.spec
|
||||||
cp -a $(HOME)/rpmbuild/SRPMS/*rpm build
|
cp -a $(HOME)/rpmbuild/SRPMS/*rpm build
|
||||||
cp -a $(HOME)/rpmbuild/RPMS/x86_64/*rpm build
|
cp -a $(HOME)/rpmbuild/RPMS/x86_64/*rpm build
|
||||||
|
|
||||||
|
pkg:
|
||||||
|
# intended for use on a MacOSX system
|
||||||
|
mkdir -p $(DEBUILD_ROOT) && rm -rf $(DEBUILD_ROOT)/*
|
||||||
|
mkdir -p $(DEBUILD_ROOT)/usr/local/bin/
|
||||||
|
mkdir -p $(DEBUILD_ROOT)/usr/local/share/man/man1/
|
||||||
|
cp ./pgloader.1 $(DEBUILD_ROOT)/usr/local/share/man/man1/
|
||||||
|
cp ./build/bin/pgloader $(DEBUILD_ROOT)/usr/local/bin/
|
||||||
|
pkgbuild --identifier org.tapoueh.pgloader \
|
||||||
|
--root $(DEBUILD_ROOT) \
|
||||||
|
--version $(VERSION) \
|
||||||
|
./build/pgloader-$(VERSION).pkg
|
||||||
|
|
||||||
latest:
|
latest:
|
||||||
git archive --format=tar --prefix=pgloader-3.0.99/ \
|
git archive --format=tar --prefix=pgloader-$(VERSION)/ v$(VERSION) \
|
||||||
v3.0.99 | gzip -9 > $(LATEST)
|
| gzip -9 > $(LATEST)
|
||||||
|
|
||||||
check: test ;
|
check: test ;
|
||||||
|
|
||||||
|
@ -101,6 +101,9 @@
|
|||||||
<tr><td>CentOS 6.4, <tt>amd64</tt></td>
|
<tr><td>CentOS 6.4, <tt>amd64</tt></td>
|
||||||
<td><a href="http://pgloader.io/files/pgloader-3.0.99-21.el6.x86_64.rpm">pgloader-3.0.99-21.el6.x86_64.rpm</a></td>
|
<td><a href="http://pgloader.io/files/pgloader-3.0.99-21.el6.x86_64.rpm">pgloader-3.0.99-21.el6.x86_64.rpm</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr><td>MacOSX 10.9.2</td>
|
||||||
|
<td><a href="http://pgloader.io/files/pgloader-3.0.99.pkg">pgloader-3.0.99.pkg</a></td>
|
||||||
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<p>
|
<p>
|
||||||
Those build have been made
|
Those build have been made
|
||||||
@ -114,6 +117,11 @@
|
|||||||
environment</i> (read <i>virtual machines</i>) and testing the
|
environment</i> (read <i>virtual machines</i>) and testing the
|
||||||
artifacts.
|
artifacts.
|
||||||
</p>
|
</p>
|
||||||
|
<p>
|
||||||
|
The file <tt>pgloader-3.0.99.pkg</tt> has been prepared and
|
||||||
|
tested using <i>MacOSX 10.9.2</i> and may or may not work with
|
||||||
|
other versions of this Operating System.
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-2"> </div>
|
<div class="col-md-2"> </div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user