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
This commit is contained in:
12
srcpkgs/dash/INSTALL
Normal file
12
srcpkgs/dash/INSTALL
Normal file
@@ -0,0 +1,12 @@
|
||||
#
|
||||
# This script creates the /bin/sh symlink to /bin/dash.
|
||||
#
|
||||
|
||||
case "${ACTION}" in
|
||||
pre)
|
||||
;;
|
||||
post)
|
||||
echo "Creating /bin/sh symlink..."
|
||||
cd ./bin && ./ln -sf dash sh
|
||||
;;
|
||||
esac
|
||||
24
srcpkgs/dash/template
Normal file
24
srcpkgs/dash/template
Normal file
@@ -0,0 +1,24 @@
|
||||
# Template file for 'dash'
|
||||
pkgname=dash
|
||||
version=0.5.5.1
|
||||
revision=3
|
||||
distfiles="http://gondor.apana.org.au/~herbert/dash/files/$pkgname-$version.tar.gz"
|
||||
build_style=gnu_configure
|
||||
configure_args="--prefix="
|
||||
configure_env="LANG=C"
|
||||
short_desc="POSIX-compliant Unix shell, much smaller than GNU bash"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=1c6717a1014c73aa16bc78a4767f1e00b40ff2a01a6c2cf2cce9a5335c24493f
|
||||
long_desc="
|
||||
Debian Almquist shell (dash) is a POSIX-compliant Unix shell, much smaller
|
||||
than bash. It requires less disk space but is also less feature rich.
|
||||
|
||||
Dash is a direct descendant of the NetBSD version of the Almquist Shell
|
||||
(ash). It was ported to Linux by Herbert Xu in early 1997. It was renamed to
|
||||
dash in 2002."
|
||||
|
||||
essential=yes
|
||||
register_shell="/bin/sh"
|
||||
Add_dependency full glibc
|
||||
Add_dependency full coreutils
|
||||
Add_dependency build bison
|
||||
Reference in New Issue
Block a user