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
97b70cce
Commit
97b70cce
authored
Nov 10, 2017
by
Ed Reel
Committed by
GitHub
Nov 10, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1399 from cstrouse/add-wput
Add wput package
parents
6bffe6f2
e867c038
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
0 deletions
+28
-0
packages/wput.rb
packages/wput.rb
+28
-0
No files found.
packages/wput.rb
0 → 100644
View file @
97b70cce
require
'package'
class
Wput
<
Package
description
'wput is a command line file upload tool, the opposite of wget'
homepage
'http://wput.sourceforge.net/'
version
'0.6.1'
source_url
'https://prdownloads.sourceforge.net/wput/wput-0.6.1.tgz'
source_sha256
'67125acab1d520e5d2a0429cd9cf7fc379987f30d5bbed0b0e97b92b554fcc13'
depends_on
'gnutls'
def
self
.
preinstall
system
"curl -Ls -o config.guess 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD'"
system
"curl -Ls -o config.sub 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD'"
end
def
self
.
build
system
'./configure'
,
"--prefix=
#{
CREW_PREFIX
}
"
,
"--libdir=
#{
CREW_LIB_PREFIX
}
"
system
'make'
end
def
self
.
install
system
"install -Dm755 wput
#{
CREW_DEST_PREFIX
}
/bin/wput"
system
"install -Dm644 doc/wput.1.gz
#{
CREW_DEST_PREFIX
}
/man/man1/wput.1.gz"
end
end
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