add cocoapods spec

This commit is contained in:
Recep Aslantas
2018-04-22 01:03:17 +03:00
parent 498a33fac5
commit cef97fca3e
4 changed files with 33 additions and 4 deletions

29
cglm.podspec Normal file
View File

@@ -0,0 +1,29 @@
Pod::Spec.new do |s|
# Description
s.name = "cglm"
s.version = "0.4.4"
s.summary = "📽 Optimized OpenGL/Graphics Math (glm) for C"
s.description = <<-DESC
cglm is math library for graphics programming for C. It is similar to original glm but it is written for C instead of C++ (you can use here too). See the documentation or README for all features.
DESC
s.documentation_url = "http://cglm.readthedocs.io"
# Home
s.homepage = "https://github.com/recp/cglm"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "Recep Aslantas" => "recp@acm.org" }
# Sources
s.source = { :git => "https://github.com/recp/cglm.git", :tag => "v#{s.version}" }
s.source_files = "src", "include/cglm/**/*.h"
s.public_header_files = "include", "include/cglm/**/*.h"
s.private_header_files = "src/**/*.h"
s.exclude_files = "src/win/*", "src/dllmain.c"
s.preserve_path = "include"
s.header_mappings_dir = "include"
# Linking
s.library = "m"
end

View File

@@ -7,7 +7,7 @@
#*****************************************************************************
AC_PREREQ([2.69])
AC_INIT([cglm], [0.4.3], [info@recp.me])
AC_INIT([cglm], [0.4.4], [info@recp.me])
AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects])
AC_CONFIG_MACRO_DIR([m4])

View File

@@ -62,9 +62,9 @@ author = u'Recep Aslantas'
# built documents.
#
# The short X.Y version.
version = u'0.4.3'
version = u'0.4.4'
# The full version, including alpha/beta/rc tags.
release = u'0.4.3'
release = u'0.4.4'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.

View File

@@ -10,6 +10,6 @@
#define CGLM_VERSION_MAJOR 0
#define CGLM_VERSION_MINOR 4
#define CGLM_VERSION_PATCH 3
#define CGLM_VERSION_PATCH 4
#endif /* cglm_version_h */