Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
705ee955
Commit
705ee955
authored
Mar 11, 2014
by
Sean McGovern
Committed by
Rafaël Carré
Mar 23, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tools: add GNU sed
Signed-off-by:
Rafaël Carré
<
funman@videolan.org
>
parent
e3b2ec7e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
0 deletions
+32
-0
extras/tools/bootstrap
extras/tools/bootstrap
+12
-0
extras/tools/packages.mak
extras/tools/packages.mak
+3
-0
extras/tools/tools.mak
extras/tools/tools.mak
+17
-0
No files found.
extras/tools/bootstrap
View file @
705ee955
...
@@ -32,6 +32,17 @@ then
...
@@ -32,6 +32,17 @@ then
fi
fi
}
}
check_sed
()
{
tmp
=
"
`
pwd
`
/check_sed"
trap
"rm
$tmp
"
EXIT
echo
"test file for GNU sed"
>
$tmp
if
!
sed
-i
-e
's/sed//'
$tmp
>
/dev/null 2>&1
then
echo
"sed doesn't do in-place editing (-i option)"
NEEDED
=
"
$NEEDED
.sed"
fi
}
check
()
{
check
()
{
if
!
$1
--version
>
/dev/null 2>&1
if
!
$1
--version
>
/dev/null 2>&1
then
then
...
@@ -63,6 +74,7 @@ check cmake
...
@@ -63,6 +74,7 @@ check cmake
check yasm
check yasm
check_tar
check_tar
check ragel
check ragel
check_sed
[
-n
"
$NEEDED
"
]
&&
mkdir
-p
build/
[
-n
"
$NEEDED
"
]
&&
mkdir
-p
build/
...
...
extras/tools/packages.mak
View file @
705ee955
...
@@ -37,3 +37,6 @@ GAS_URL=http://git.libav.org/?p=gas-preprocessor.git;a=snapshot;h=$(GAS_VERSION)
...
@@ -37,3 +37,6 @@ GAS_URL=http://git.libav.org/?p=gas-preprocessor.git;a=snapshot;h=$(GAS_VERSION)
RAGEL_VERSION
=
6.8
RAGEL_VERSION
=
6.8
RAGEL_URL
=
http://www.complang.org/ragel/ragel-
$(RAGEL_VERSION)
.tar.gz
RAGEL_URL
=
http://www.complang.org/ragel/ragel-
$(RAGEL_VERSION)
.tar.gz
SED_VERSION
=
4.2.2
SED_URL
=
$(GNU)
/sed/sed-
$(SED_VERSION)
.tar.bz2
extras/tools/tools.mak
View file @
705ee955
...
@@ -248,6 +248,23 @@ CLEAN_FILE += .ragel
...
@@ -248,6 +248,23 @@ CLEAN_FILE += .ragel
CLEAN_PKG
+=
ragel
CLEAN_PKG
+=
ragel
DISTCLEAN_PKG
+=
ragel-
$(RAGEL_VERSION)
.tar.gz
DISTCLEAN_PKG
+=
ragel-
$(RAGEL_VERSION)
.tar.gz
# GNU sed
sed-$(SED_VERSION).tar.bz2
:
$(
call
download,
$(SED_URL)
)
sed
:
sed-$(SED_VERSION).tar.bz2
$(UNPACK)
$(MOVE)
.sed
:
sed
(
cd
$<
;
./configure
--prefix
=
$(PREFIX)
&&
$(MAKE)
&&
$(MAKE)
install
)
touch
$@
CLEAN_PKG
+=
sed
DISTCLEAN_PKG
+=
sed-
$(SED_VERSION)
.tar.bz2
CLEAN_FILE
+=
.sed
#
#
#
#
#
#
...
...
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