Split pkgs required by xbps-base-chroot, as it was made in Fedora.
- Added an additional shell func to add full (build/run), build or run time dependencies to packages. An optional third parameter can be used to specify other version than the one set in the depends file. - Use a "depends" file in package directory to specify minimum required ABI/API version for a package, so that there's no need to set the version all the time in pkgs. - Updated bash to 4.0. --HG-- extra : convert_revision : 1aa0ce32d4bdc2cd371eac19ae7bcff2c986b6b3
This commit is contained in:
parent
97821bf458
commit
e0030bc0fe
220 changed files with 719 additions and 1304 deletions
|
@ -1,17 +0,0 @@
|
|||
# Template file for 'grep-base'.
|
||||
#
|
||||
short_desc="${short_desc} (base files)"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains the ${sourcepkg} base files."
|
||||
|
||||
. ${XBPS_TEMPLATESDIR}/glibc/libs.depends
|
||||
|
||||
do_install()
|
||||
{
|
||||
local destdir=${XBPS_DESTDIR}/${pkgname}-${version}
|
||||
local origdir=${XBPS_DESTDIR}/${sourcepkg}-${version}
|
||||
|
||||
mkdir -p ${destdir}
|
||||
mv ${origdir}/bin ${destdir}
|
||||
}
|
|
@ -1,19 +0,0 @@
|
|||
# Template file for 'grep-docs'.
|
||||
#
|
||||
short_desc="${short_desc} (documentation)"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains the ${sourcepkg} documentation: manual pages
|
||||
and info files."
|
||||
run_depends=
|
||||
noarch=yes
|
||||
|
||||
do_install()
|
||||
{
|
||||
local destdir=${XBPS_DESTDIR}/${pkgname}-${version}
|
||||
local origdir=${XBPS_DESTDIR}/${sourcepkg}-${version}
|
||||
|
||||
mkdir -p ${destdir}/usr/share
|
||||
mv ${origdir}/usr/share/info ${destdir}/usr/share
|
||||
mv ${origdir}/usr/share/man ${destdir}/usr/share
|
||||
}
|
|
@ -1,17 +0,0 @@
|
|||
# Template file for 'grep-locale'.
|
||||
#
|
||||
short_desc="${short_desc} (locales)"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains the ${sourcepkg} locale files, for non US users."
|
||||
run_depends=
|
||||
noarch=yes
|
||||
|
||||
do_install()
|
||||
{
|
||||
local destdir=${XBPS_DESTDIR}/${pkgname}-${version}
|
||||
local origdir=${XBPS_DESTDIR}/${sourcepkg}-${version}
|
||||
|
||||
mkdir -p ${destdir}/usr/share
|
||||
mv ${origdir}/usr/share/locale ${destdir}/usr/share
|
||||
}
|
|
@ -1,6 +1,5 @@
|
|||
# Template build file for 'grep'.
|
||||
pkgname=grep
|
||||
sourcepkg=grep
|
||||
version=2.5.4
|
||||
distfiles="http://ftp.gnu.org/gnu/grep/$pkgname-$version.tar.bz2"
|
||||
build_style=gnu_configure
|
||||
|
@ -17,5 +16,6 @@ long_desc="
|
|||
The result is typically many times faster than Unix grep or egrep."
|
||||
|
||||
base_chroot=yes
|
||||
build_depends="texinfo-4.13a"
|
||||
subpackages="base docs locale"
|
||||
|
||||
Add_dependency build texinfo
|
||||
Add_dependency run glibc
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue