OpenRC: move so symlink into main pkg.

--HG--
extra : convert_revision : a5b2a4e1cf14f0c10064c4dee44a6559c5337e11
This commit is contained in:
Juan RP 2010-04-22 12:53:52 +02:00
parent 3d514692b4
commit 80e7526577
2 changed files with 10 additions and 2 deletions

View file

@ -5,6 +5,8 @@ long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
revision=1
Add_dependency run glibc-devel
Add_dependency run OpenRC
@ -12,7 +14,6 @@ do_install()
{
mkdir -p ${DESTDIR}/usr/lib ${DESTDIR}/lib ${DESTDIR}/usr/share/man
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/lib/lib*.so ${DESTDIR}/lib
mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share/man/man3 ${DESTDIR}/usr/share/man

View file

@ -1,7 +1,7 @@
# Template file for 'OpenRC'
pkgname=OpenRC
version=0.6.0
revision=2
revision=3
wrksrc=openrc-${version}
distfiles="http://roy.marples.name/downloads/openrc/openrc-$version.tar.bz2"
build_style=gnu_makefile
@ -27,9 +27,13 @@ subpackages="$pkgname-devel"
Add_dependency full glibc
Add_dependency full psmisc
Add_dependency full sysvinit
Add_dependency build diffutils
pre_build()
{
# Use cmp(1) from diffutils.
export PATH="/usr/bin:$PATH"
# Install the "locale" service
cp ${FILESDIR}/locale.rc ${wrksrc}/init.d/locale.in
@ -54,4 +58,7 @@ post_install()
for f in 0 1 2 3 4 5 6; do
cd ${DESTDIR}/etc/init.d && ln -s fake-rc.d rc${f}.d
done
chmod 755 ${DESTDIR}/lib/lib*
chmod 755 ${DESTDIR}/usr/lib/lib*
}