This repository has been archived by the owner on May 13, 2020. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
197 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Source: pony-stable | ||
Maintainer: Pony Core Team <buildbot@pony.groups.io> | ||
Build-Depends: debhelper (>= 9.0.0), ponyc | ||
Priority: optional | ||
Standards-Version: 3.9.7 | ||
Section: devel | ||
|
||
Package: pony-stable | ||
Priority: optional | ||
Architecture: any | ||
Depends: ${shlibs:Depends}, ${misc:Depends} | ||
Description: pony language dependency manager | ||
Dependency manager for the pony programming language. | ||
https://github.com/ponylang/pony-stable | ||
Pony is an open-source, actor-model, capabilities-secure, high performance programming language | ||
http://www.ponylang.org |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
#!/usr/bin/make -f | ||
# See debhelper(7) (uncomment to enable) | ||
# output every command that modifies files on the build system. | ||
export DH_VERBOSE = 1 | ||
|
||
|
||
# see FEATURE AREAS in dpkg-buildflags(1) | ||
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all | ||
|
||
# see ENVIRONMENT in dpkg-buildflags(1) | ||
# package maintainers to append CFLAGS | ||
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic | ||
# package maintainers to append LDFLAGS | ||
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed | ||
|
||
dpkg_late_eval ?= $(or $(value DPKG_CACHE_$(1)),$(eval DPKG_CACHE_$(1) := $(shell $(2)))$(value DPKG_CACHE_$(1))) | ||
DEB_DISTRIBUTION = $(call dpkg_late_eval,DEB_DISTRIBUTION,dpkg-parsechangelog -SDistribution) | ||
|
||
MAKE_OPTIONS := prefix=/usr | ||
|
||
ifeq ($(DEB_HOST_ARCH),amd64) | ||
MAKE_OPTIONS += arch=x86-64 | ||
endif | ||
|
||
%: | ||
dh $@ | ||
|
||
override_dh_auto_build: | ||
env | ||
uname -m | ||
dh_auto_build -- $(MAKE_OPTIONS) | ||
|
||
override_dh_auto_install: | ||
dh_auto_install -- $(MAKE_OPTIONS) | ||
|
||
override_dh_auto_test: | ||
dh_auto_test -- $(MAKE_OPTIONS) | ||
|
||
# dh_make generated override targets | ||
# This is example for Cmake (See https://bugs.debian.org/641051 ) | ||
#override_dh_auto_configure: | ||
# dh_auto_configure -- # -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
3.0 (quilt) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
%global pony_stable_version %(ls %{_sourcedir} | egrep -o '[0-9]+\.[0-9]+\.[0-9]+' || cat ../../VERSION) | ||
%global release_version 1 | ||
|
||
%ifarch x86_64 | ||
%global arch_build_args arch=x86-64 | ||
%endif | ||
|
||
Name: pony-stable | ||
Version: %{pony_stable_version} | ||
Release: %{release_version}%{?dist} | ||
Packager: Pony Core Team <buildbot@pony.groups.io> | ||
Summary: Dependency manager for the pony programming language. | ||
# For a breakdown of the licensing, see PACKAGE-LICENSING | ||
License: BSD | ||
URL: https://github.com/ponylang/pony-stable | ||
Source0: https://github.com/ponylang/pony-stable/archive/%{version}.tar.gz | ||
BuildRequires: ponyc | ||
BuildRequires: make | ||
|
||
%description | ||
Dependency manager for the pony programming language. | ||
https://github.com/ponylang/pony-stable | ||
|
||
Pony is an open-source, actor-model, capabilities-secure, high performance programming language | ||
http://www.ponylang.org | ||
|
||
%global debug_package %{nil} | ||
|
||
%prep | ||
%setup | ||
|
||
%build | ||
make %{?arch_build_args} prefix=%{_prefix} %{?_smp_mflags} test | ||
|
||
%install | ||
make install %{?arch_build_args} prefix=%{_prefix} DESTDIR=$RPM_BUILD_ROOT | ||
|
||
%clean | ||
rm -rf $RPM_BUILD_ROOT | ||
|
||
%files | ||
%{_prefix}/bin/stable | ||
|
||
%changelog | ||
* Fri Jun 1 2018 Dipin Hora <dipin@wallaroolabs.com> 0.1.2-1 | ||
- Initial version of spec file |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.1.2 | ||
0.1.3 |