Split pkgs required by xbps-base-system, structure based in Fedora.
--HG-- extra : convert_revision : 151da3637a2745b786251e067bb924c3fd98118b
This commit is contained in:
2
templates/klibc/depends
Normal file
2
templates/klibc/depends
Normal file
@@ -0,0 +1,2 @@
|
||||
abi_depends=1.5.14
|
||||
api_depends=${abi_depends}
|
||||
23
templates/klibc/devel.template
Normal file
23
templates/klibc/devel.template
Normal file
@@ -0,0 +1,23 @@
|
||||
# Template file for 'klibc-devel'.
|
||||
#
|
||||
short_desc="${short_desc} (development files)"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains files for development, headers, static libs, etc."
|
||||
|
||||
Add_dependency run klibc
|
||||
|
||||
do_install()
|
||||
{
|
||||
local destdir=${XBPS_DESTDIR}/${pkgname}-${version}
|
||||
local origdir=${XBPS_DESTDIR}/${sourcepkg}-${version}
|
||||
|
||||
mkdir -p ${destdir}/usr/lib/klibc
|
||||
mkdir -p ${destdir}/usr/share/man/man1
|
||||
|
||||
mv ${origdir}/usr/lib/klibc/include ${destdir}/usr/lib/klibc
|
||||
mv ${origdir}/usr/lib/klibc/lib ${destdir}/usr/lib/klibc
|
||||
mv ${origdir}/usr/bin ${destdir}/usr
|
||||
mv ${origdir}/usr/man/man1/klcc.1 ${destdir}/usr/share/man/man1
|
||||
rm -rf ${origdir}/usr/man
|
||||
}
|
||||
@@ -1,5 +1,6 @@
|
||||
# Template file for 'klibc'
|
||||
pkgname=klibc
|
||||
sourcepkg=klibc
|
||||
version=1.5.14
|
||||
distfiles="
|
||||
http://www.kernel.org/pub/linux/libs/klibc/Testing/klibc-$version.tar.bz2"
|
||||
@@ -14,7 +15,10 @@ long_desc="
|
||||
portability, not speed. It is definitely a work in progress and a lot of
|
||||
things are still missing."
|
||||
|
||||
build_depends="kernel-headers-2.6.27.3"
|
||||
subpackages="devel utils"
|
||||
|
||||
Add_dependency build kernel-headers
|
||||
Add_dependency build bison
|
||||
|
||||
pre_configure()
|
||||
{
|
||||
|
||||
18
templates/klibc/utils.template
Normal file
18
templates/klibc/utils.template
Normal file
@@ -0,0 +1,18 @@
|
||||
# Template file for 'klibc-utils'.
|
||||
#
|
||||
short_desc="${short_desc} (binary utilities)"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains the binary programs built with klibc
|
||||
for use on the initramfs."
|
||||
|
||||
Add_dependency run klibc
|
||||
|
||||
do_install()
|
||||
{
|
||||
local destdir=${XBPS_DESTDIR}/${pkgname}-${version}
|
||||
local origdir=${XBPS_DESTDIR}/${sourcepkg}-${version}
|
||||
|
||||
mkdir -p ${destdir}/usr/lib/klibc
|
||||
mv ${origdir}/usr/lib/klibc/bin ${destdir}/usr/lib/klibc
|
||||
}
|
||||
Reference in New Issue
Block a user