Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
58591fa5
Commit
58591fa5
authored
7 years ago
by
Damian Montero
Committed by
GitHub
7 years ago
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1077 from jam7/update/perl-packages
Add individual package files to install perl modules.
parents
0829b089
24d2648e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
100 additions
and
4 deletions
+100
-4
packages/perl_locale_messages.rb
packages/perl_locale_messages.rb
+32
-0
packages/perl_text_unidecode.rb
packages/perl_text_unidecode.rb
+32
-0
packages/perl_unicode_eastasianwidth.rb
packages/perl_unicode_eastasianwidth.rb
+32
-0
packages/texinfo.rb
packages/texinfo.rb
+4
-4
No files found.
packages/perl_locale_messages.rb
0 → 100644
View file @
58591fa5
require
'package'
class
Perl_locale_messages
<
Package
description
'Perl Locale::Messages - Gettext Like Message Retrieval.'
homepage
'https://metacpan.org/pod/Locale::Messages'
version
'1.27'
source_url
'https://cpan.metacpan.org/authors/id/G/GU/GUIDO/libintl-perl-1.27.tar.gz'
source_sha256
'46de373e84e8a178353990b87eeacf9ef4f5c72650248eb20ed9772a65817c6a'
depends_on
'perl'
def
self
.
build
end
def
self
.
install
# install files to build directory
system
'cpanm'
,
'-l'
,
"build"
,
'--self-contained'
,
'.'
# install lib
libdir
=
`perl -e 'require Config; print $Config::Config{'"'installsitelib'"'};'`
system
"mkdir -p
#{
CREW_DEST_DIR
}#{
libdir
}
"
system
"(cd build/lib/perl5; tar cf - .) | (cd
#{
CREW_DEST_DIR
}#{
libdir
}
; tar xfp -)"
# install man
mandir
=
"
#{
CREW_PREFIX
}
/share/man"
system
"mkdir -p
#{
CREW_DEST_DIR
}#{
mandir
}
"
system
"(cd build/man; tar cf - .) | (cd
#{
CREW_DEST_DIR
}#{
mandir
}
; tar xfp -)"
end
def
self
.
check
end
end
This diff is collapsed.
Click to expand it.
packages/perl_text_unidecode.rb
0 → 100644
View file @
58591fa5
require
'package'
class
Perl_text_unidecode
<
Package
description
'Perl Text::Unidecode -- plain ASCII transliterations of Unicode text.'
homepage
'https://metacpan.org/pod/Text::Unidecode'
version
'1.30'
source_url
'https://cpan.metacpan.org/authors/id/S/SB/SBURKE/Text-Unidecode-1.30.tar.gz'
source_sha256
'6c24f14ddc1d20e26161c207b73ca184eed2ef57f08b5fb2ee196e6e2e88b1c6'
depends_on
'perl'
def
self
.
build
end
def
self
.
install
# install files to build directory
system
'cpanm'
,
'-l'
,
"build"
,
'--self-contained'
,
'.'
# install lib
libdir
=
`perl -e 'require Config; print $Config::Config{'"'installsitelib'"'};'`
system
"mkdir -p
#{
CREW_DEST_DIR
}#{
libdir
}
"
system
"(cd build/lib/perl5; tar cf - .) | (cd
#{
CREW_DEST_DIR
}#{
libdir
}
; tar xfp -)"
# install man
mandir
=
"
#{
CREW_PREFIX
}
/share/man"
system
"mkdir -p
#{
CREW_DEST_DIR
}#{
mandir
}
"
system
"(cd build/man; tar cf - .) | (cd
#{
CREW_DEST_DIR
}#{
mandir
}
; tar xfp -)"
end
def
self
.
check
end
end
This diff is collapsed.
Click to expand it.
packages/perl_unicode_eastasianwidth.rb
0 → 100644
View file @
58591fa5
require
'package'
class
Perl_unicode_eastasianwidth
<
Package
description
'Perl Unicode::EastAsianWidth - East Asian Width properties.'
homepage
'https://metacpan.org/pod/Unicode::EastAsianWidth'
version
'1.33'
source_url
'https://cpan.metacpan.org/authors/id/A/AU/AUDREYT/Unicode-EastAsianWidth-1.33.tar.gz'
source_sha256
'41c9f0b50c45dd806a97de73f9fe93516b6c63255e2a5174e5fb2d89635c7797'
depends_on
'perl'
def
self
.
build
end
def
self
.
install
# install files to build directory
system
'cpanm'
,
'-l'
,
"build"
,
'--self-contained'
,
'.'
# install lib
libdir
=
`perl -e 'require Config; print $Config::Config{'"'installsitelib'"'};'`
system
"mkdir -p
#{
CREW_DEST_DIR
}#{
libdir
}
"
system
"(cd build/lib/perl5; tar cf - .) | (cd
#{
CREW_DEST_DIR
}#{
libdir
}
; tar xfp -)"
# install man
mandir
=
"
#{
CREW_PREFIX
}
/share/man"
system
"mkdir -p
#{
CREW_DEST_DIR
}#{
mandir
}
"
system
"(cd build/man; tar cf - .) | (cd
#{
CREW_DEST_DIR
}#{
mandir
}
; tar xfp -)"
end
def
self
.
check
end
end
This diff is collapsed.
Click to expand it.
packages/texinfo.rb
View file @
58591fa5
...
...
@@ -3,18 +3,18 @@ require 'package'
class
Texinfo
<
Package
description
'Texinfo is the official documentation format of the GNU project.'
homepage
'https://www.gnu.org/software/texinfo/'
version
'6.4'
version
'6.4
-1
'
source_url
'http://ftpmirror.gnu.org/texinfo/texinfo-6.4.tar.xz'
source_sha256
'6ae2e61d87c6310f9af7c6f2426bd0470f251d1a6deb61fba83a3b3baff32c3a'
depends_on
'gettext'
=>
:build
depends_on
'perl'
depends_on
'perl_locale_messages'
depends_on
'perl_text_unidecode'
depends_on
'perl_unicode_eastasianwidth'
depends_on
'ncurses'
def
self
.
build
# installing necessary perl modules
system
'cpan'
,
'install'
,
'CPAN'
,
'Locale::Messages'
,
'Text::Unidecode'
,
'Unicode::EastAsianWidth'
# configure and make
system
'./configure'
,
'--with-external-Text-Unidecode'
,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment