Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
6c28a37e
Commit
6c28a37e
authored
Dec 08, 2012
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move included script to /usr/share/eepm
parent
c1c0183e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
7 deletions
+25
-7
Makefile
Makefile
+10
-3
epm
bin/epm
+6
-2
serv
bin/serv
+5
-2
eepm.spec
eepm.spec
+4
-0
No files found.
Makefile
View file @
6c28a37e
pkgdatadir
=
$(datadir)
/eterbuild
pkgdatadir
=
$(datadir)
/eepm
# due using %makeinstallstd in spec
instpkgdatadir
=
/usr/share/eepm
install
:
install
:
mkdir
-p
$(DESTDIR)$(bindir)
mkdir
-p
$(DESTDIR)$(bindir)
/
install
-m
755 bin/
*
$(DESTDIR)$(bindir)
mkdir
-p
$(DESTDIR)$(pkgdatadir)
/
install
-m
755
`
ls
-1
bin/
*
|
grep
-v
"-"
`
$(DESTDIR)$(bindir)
/
install
-m
755
`
ls
-1
bin/
*
|
grep
"-"
`
$(DESTDIR)$(pkgdatadir)
/
sed
-e
"s|SHAREDIR=.*|SHAREDIR=
$(instpkgdatadir)
|g"
<bin/epm
>
$(DESTDIR)$(bindir)
/epm
sed
-e
"s|SHAREDIR=.*|SHAREDIR=
$(instpkgdatadir)
|g"
<bin/serv
>
$(DESTDIR)$(bindir)
/serv
bin/epm
View file @
6c28a37e
...
@@ -19,13 +19,17 @@
...
@@ -19,13 +19,17 @@
#
#
PROGDIR
=
$(
dirname
$0
)
PROGDIR
=
$(
dirname
$0
)
# will replaced to /usr/share/eepm during install
SHAREDIR
=
$(
dirname
$0
)
load_helper
()
load_helper
()
{
{
[
-r
"
$PROGDIR
/
$1
"
]
||
fatal
"Have no
$PROGDIR
/
$1
helper file"
local
CMD
=
"
$SHAREDIR
/
$1
"
.
$PROGDIR
/
$1
[
-r
"
$CMD
"
]
||
fatal
"Have no
$CMD
helper file"
.
$CMD
}
}
load_helper epm-sh-functions
load_helper epm-sh-functions
#PATH=$PATH:/sbin:/usr/sbin
#PATH=$PATH:/sbin:/usr/sbin
...
...
bin/serv
View file @
6c28a37e
...
@@ -19,11 +19,14 @@
...
@@ -19,11 +19,14 @@
#
#
PROGDIR
=
$(
dirname
$0
)
PROGDIR
=
$(
dirname
$0
)
# will replaced to /usr/share/eepm during install
SHAREDIR
=
$(
dirname
$0
)
load_helper
()
load_helper
()
{
{
[
-r
"
$PROGDIR
/
$1
"
]
||
fatal
"Have no
$PROGDIR
/
$1
helper file"
local
CMD
=
"
$SHAREDIR
/
$1
"
.
$PROGDIR
/
$1
[
-r
"
$CMD
"
]
||
fatal
"Have no
$CMD
helper file"
.
$CMD
}
}
load_helper epm-sh-functions
load_helper epm-sh-functions
...
...
eepm.spec
View file @
6c28a37e
...
@@ -40,13 +40,17 @@ with various distros.
...
@@ -40,13 +40,17 @@ with various distros.
%install
%install
# install to datadir and so on
# install to datadir and so on
%makeinstall
%makeinstall
./pack_in_onefile.sh
install -m 0755 *packed.sh %buildroot/%_datadir/%name/
%files
%files
%doc README TODO
%doc README TODO
%_bindir/epm*
%_bindir/epm*
%_bindir/eepm
%_bindir/eepm
%_bindir/upm
%_bindir/upm
%_bindir/serv
%_bindir/distr_info
%_bindir/distr_info
%_datadir/%name/
%changelog
%changelog
* Sat Dec 08 2012 Vitaly Lipatov <lav@altlinux.ru> 1.0.7-alt1
* Sat Dec 08 2012 Vitaly Lipatov <lav@altlinux.ru> 1.0.7-alt1
...
...
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