pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: [GLUG-tech] busybox port to NetBSD pkgsrc
On Tue, 2007-01-09 at 20:54 +0200, Ross Cameron wrote:
|-- bin
| |-- addgroup -> busybox
| |-- adduser -> busybox
| |-- bbconfig -> busybox
| |-- busybox
| |-- cat -> busybox
| |-- catv -> busybox
| |-- chattr -> busybox
| |-- chgrp -> busybox
| |-- chmod -> busybox
| |-- chown -> busybox
| |-- cp -> busybox
| |-- cpio -> busybox
| |-- date -> busybox
| |-- dd -> busybox
| |-- delgroup -> busybox
| |-- deluser -> busybox
...
`-- usr
|-- bin
| |-- [ -> ../../bin/busybox
| |-- [[ -> ../../bin/busybox
| |-- xargs -> ../../bin/busybox
| `-- yes -> ../../bin/busybox
...
`-- sbin
|-- chroot -> ../../bin/busybox
|-- crond -> ../../bin/busybox
...
Then the PLIST file should look like:
@comment $NetBSD$
bin/addgroup
bin/adduser
bin/bbconfig
bin/busybox
bin/cat
bin/catv
...
sbin/chroot
sbin/crond
...
There should be no entries for a usr/bin directory, since no pkgsrc
package does that. All "public" binaries go into either bin or sbin.
Rudi Ahlers wrote:
Here's a wild shot in the dark:
DISTNAME= busybox-1.3.1
#PKGNAME= busybox-1.3.1
CATEGORIES= sysutils
MASTER_SITES= http://busybox.net/downloads/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= ross%goal.co.za@localhost
HOMEPAGE= http://busybox.net/
COMMENT= The "Swiss Army Knife" of embedded Linux
DESCR= The "Swiss Army Knife" of embedded Linux
DESCR is not a known variable. You can run "pkglint -Wall --explain" to
see more details about that.
USE_TOOLS+= gmake
ONLY_FOR_PLATFORM= Linux-*-*
HAS_CONFIGURE= YES
CONFIGURE_SCRIPT= /usr/bin/gmake defconfig
Instead of the last two lines, try this:
do-configure:
cd ${WRKSRC} && env ${CONFIGURE_ENV} ${MAKE_ENV} make menuconfig
Roland
Home |
Main Index |
Thread Index |
Old Index