void-packages/srcpkgs/busybox-initramfs/template
Juan RP 85cc462e1d Major infrastructure changes, part 2.
* Moved helpers, common and triggers dirs into xbps-src, where
  they belong.
* Renamed the templates dir to srcpkgs, it was so redundant before.
* Make it possible to add subpkgs with no restriction in names, for
  example udev now has a subpkgs called "libgudev". Previously
  subpkgs were named "${sourcepkg}-${pkgname}".
* xbps-src: changed to look for template files in current directory.
  That means that most arguments from the targets have been removed.
* xbps-src: added a reinstall target, to remove + install.
* xbps-src: do not overwrite binpkgs by default, skip them.

And more that I forgot because it's a mega-commit that I've been
working for some days already...

--HG--
extra : convert_revision : 0f466878584d1e6895d2a234f07ea1b2d1e61b3e
2009-11-22 08:31:44 +01:00

30 lines
1.2 KiB
Text

# Build template for 'busybox-initramfs'.
pkgname=busybox-initramfs
version=1.15.1
revision=3
wrksrc=busybox-$version
distfiles="http://www.busybox.net/downloads/busybox-$version.tar.bz2"
build_style=gnu_makefile
make_install_args="
CONFIG_PREFIX=${XBPS_DESTDIR}/${pkgname}-${version}/usr/lib/${pkgname}"
short_desc="The Swiss Army Knife of Embedded Linux for initial ramdisks"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=7f623cb0c9281aefafeacf3b4f925debc7516d263ff469a82e548da415e575cd
long_desc="
BusyBox combines tiny versions of many common UNIX utilities into a single
small executable. It provides replacements for most of the utilities you
usually find in GNU fileutils, shellutils, etc. The utilities in BusyBox
generally have fewer options than their full-featured GNU cousins; however,
the options that are included provide the expected functionality and behave
very much like their GNU counterparts. BusyBox provides a fairly complete
environment for any small or embedded system.
This package provides some required utilities for the initial ramdisks."
base_chroot=yes
Add_dependency full glibc
pre_build()
{
cp -f ${FILESDIR}/dotconfig ${wrksrc}/.config
}