Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakub Panek
aports
Commits
91c07723
Commit
91c07723
authored
13 years ago
by
Natanael Copa
Browse files
Options
Downloads
Patches
Plain Diff
newapkbuild: not only autotools packages can have init.d scripts
parent
b0b66ea0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
newapkbuild.in
+9
-9
9 additions, 9 deletions
newapkbuild.in
with
9 additions
and
9 deletions
newapkbuild.in
+
9
−
9
View file @
91c07723
...
@@ -64,15 +64,6 @@ package_autotools() {
...
@@ -64,15 +64,6 @@ package_autotools() {
make DESTDIR="
\$
pkgdir" install || return 1
make DESTDIR="
\$
pkgdir" install || return 1
rm -f "
\$
pkgdir"/usr/lib/*.la
rm -f "
\$
pkgdir"/usr/lib/*.la
__EOF__
__EOF__
if
[
-n
"
$cpinitd
"
]
;
then
cat
>>
APKBUILD
<<
__EOF__
install -m755 -D "
\$
srcdir"/
\$
pkgname.initd
\\
"
\$
pkgdir"/etc/init.d/
\$
pkgname || return 1
install -m644 -D "
\$
srcdir"/
\$
pkgname.confd
\\
"
\$
pkgdir"/etc/conf.d/
\$
pkgname || return 1
__EOF__
fi
}
}
package_perl
()
{
package_perl
()
{
...
@@ -237,6 +228,15 @@ __EOF__
...
@@ -237,6 +228,15 @@ __EOF__
package_python
;;
package_python
;;
esac
esac
if
[
-n
"
$cpinitd
"
]
;
then
cat
>>
APKBUILD
<<
__EOF__
install -m755 -D "
\$
srcdir"/
\$
pkgname.initd
\\
"
\$
pkgdir"/etc/init.d/
\$
pkgname || return 1
install -m644 -D "
\$
srcdir"/
\$
pkgname.confd
\\
"
\$
pkgdir"/etc/conf.d/
\$
pkgname || return 1
__EOF__
fi
cat
>>
APKBUILD
<<
__EOF__
cat
>>
APKBUILD
<<
__EOF__
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment