-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added uuid-ossp and updated postgresql
- Loading branch information
1 parent
135b13f
commit 6e4cdab
Showing
2 changed files
with
48 additions
and
7 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
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,38 @@ | ||
module Autoparts | ||
module Packages | ||
class Uuid < Package | ||
name 'uuid' | ||
version '1.6.2' | ||
description 'OSSP uuid: a ISO-C:1999 application programming interface (API) and corresponding command line interface (CLI) for the generation of DCE 1.1, ISO/IEC 11578:1996 and RFC 4122 compliant Universally.' | ||
category Category::LIBRARIES | ||
|
||
source_url 'ftp://ftp.ossp.org/pkg/lib/uuid/uuid-1.6.2.tar.gz' | ||
source_sha1 '3e22126f0842073f4ea6a50b1f59dcb9d094719f' | ||
source_filetype 'tar.gz' | ||
|
||
def compile | ||
Dir.chdir(name_with_version) do | ||
args = [ | ||
"--prefix=#{prefix_path}", | ||
"--bindir=#{bin_path}", | ||
"--sbindir=#{bin_path}", | ||
"--sysconfdir=#{Path.etc}", | ||
"--libdir=#{lib_path}", | ||
"--includedir=#{include_path}", | ||
"--datadir=#{share_path}/#{name}", | ||
"--mandir=#{man_path}", | ||
] | ||
|
||
execute './configure', *args | ||
execute 'make' | ||
end | ||
end | ||
|
||
def install | ||
Dir.chdir(name_with_version) do | ||
execute 'make install' | ||
end | ||
end | ||
end | ||
end | ||
end |