Convert all xbps-base-chroot pkgs to subpkgs.
Also introduce "libs.depends", that adds a rundep of a package with a proper version. This is to avoid modifying all dependent packages if there's an API/ABI change. --HG-- extra : convert_revision : a46b11b8e9187bdb2bfc954ad5ff40ecd9c0fe31
This commit is contained in:
18
templates/texinfo/base.template
Normal file
18
templates/texinfo/base.template
Normal file
@@ -0,0 +1,18 @@
|
||||
# Template file for 'texinfo-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}/usr/share
|
||||
mv ${origdir}/usr/bin ${destdir}/usr
|
||||
mv ${origdir}/usr/share/texinfo ${destdir}/usr/share
|
||||
}
|
||||
20
templates/texinfo/docs.template
Normal file
20
templates/texinfo/docs.template
Normal file
@@ -0,0 +1,20 @@
|
||||
# Template file for 'texinfo-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}
|
||||
|
||||
# Move manpages and info files.
|
||||
mkdir -p ${destdir}/usr/share
|
||||
mv ${origdir}/usr/share/man ${destdir}/usr/share
|
||||
mv ${origdir}/usr/share/info ${destdir}/usr/share
|
||||
}
|
||||
17
templates/texinfo/locale.template
Normal file
17
templates/texinfo/locale.template
Normal file
@@ -0,0 +1,17 @@
|
||||
# Template file for 'texinfo-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,5 +1,6 @@
|
||||
# Template file for 'texinfo'
|
||||
pkgname=texinfo
|
||||
sourcepkg=texinfo
|
||||
version=4.13a
|
||||
wrksrc="$pkgname-4.13"
|
||||
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
|
||||
@@ -13,5 +14,5 @@ long_desc="
|
||||
on Brian Reid's Scribe and other formatting languages of the time. It is
|
||||
used by many non-GNU projects as well."
|
||||
|
||||
base_chroot=yes
|
||||
run_depends="glibc-2.8"
|
||||
base_chroot=yes
|
||||
subpackages="base docs locale"
|
||||
|
||||
Reference in New Issue
Block a user