Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libpaper
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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
certo
libpaper
Commits
42bb3945
Commit
42bb3945
authored
Apr 19, 2019
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initial commit
parents
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
72 additions
and
0 deletions
+72
-0
Makefile
Makefile
+63
-0
libpaper.groups
libpaper.groups
+9
-0
libpaper_1.1.24+nmu5.tar.gz
libpaper_1.1.24+nmu5.tar.gz
+0
-0
No files found.
Makefile
0 → 100644
View file @
42bb3945
all
:
run-parts
tar
xf libpaper_1.1.24+nmu5.tar.gz
cd
libpaper-1.1.24+nmu5
&&
autoreconf
-fi
cd
libpaper-1.1.24+nmu5
&&
./configure
--prefix
=
/usr
--sysconfdir
=
/etc
--disable-static
$(MAKE)
-C
libpaper-1.1.24+nmu5
$(MAKE)
-C
libpaper-1.1.24+nmu5
install
mkdir
-vp
/etc/libpaper.d
@
echo
"
$$
RUN_PARTS"
>
/usr/bin/run-parts
chmod
-v
755 /usr/bin/run-parts
rm
-rf
libpaper_1.1.24+nmu5
run-parts
:
define
RUN_PARTS
#!/bin/sh
# run-parts: Runs all the scripts found in a directory.
# from Slackware, by Patrick J. Volkerding with ideas borrowed
# from the Red Hat and Debian versions of this utility.
# keep going when something fails
set
+e
if
[
$$
# -lt 1 ]; then
echo "Usage
:
run-parts <directory>"
exit
1
fi
if
[
!
-d
$$1
];
then
echo "Not a directory
:
$$1"
echo "Usage
:
run-parts <directory>"
exit
1
fi
# There are several types of files that we would like to
# ignore automatically, as they are likely to be backups
# of other scripts:
IGNORE_SUFFIXES
=
"~ ^ , .bak .new .rpmsave .rpmorig .rpmnew .swp"
# Main loop:
for
SCRIPT
in
$$1/*
;
do
# If this is not a regular file, skip it:
if
[
!
-f
$$SCRIPT
];
then
continue
fi
# Determine if this file should be skipped by suffix:
SKIP
=
false
for
SUFFIX
in
$$IGNORE_SUFFIXES
;
do
if
[
!
"$$(basename $$SCRIPT $$SUFFIX)"
=
"$$(basename $$SCRIPT)"
];
then
SKIP
=
true
break
fi
done
if
[
"$$SKIP"
=
"true"
];
then
continue
fi
# If we've made it this far, then run the script if it's executable:
if
[
-x
$$SCRIPT
];
then
$$SCRIPT
||
echo
"$$SCRIPT failed."
fi
done
exit
0
endef
export
RUN_PARTS
libpaper.groups
0 → 100644
View file @
42bb3945
headers
/usr/include/.*
bin
/usr/sbin/.*
/usr/bin/.*
lib
/usr/lib/lib.*
man
/usr/share/man/.*
libpaper_1.1.24+nmu5.tar.gz
0 → 100644
View file @
42bb3945
File added
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