xbps-devel: add -static subpkg with static bins/lib.

--HG--
extra : convert_revision : 3a916f3cc083f131410133bab05f0c25393df81c
This commit is contained in:
Juan RP 2009-11-26 04:26:31 +01:00
parent 96ffcf4b86
commit d83d845189
3 changed files with 16 additions and 0 deletions

1
srcpkgs/xbps-devel-static Symbolic link
View file

@ -0,0 +1 @@
xbps-devel

View file

@ -11,6 +11,7 @@ long_desc="
binary package manager. This packages includes code from a development
branch available from https://launchpad.net/xbps"
subpackages="$pkgname-static"
replaces="xbps"
nofetch=yes
noextract=yes

View file

@ -0,0 +1,14 @@
# Template file for 'bzip2-devel'.
#
short_desc="${sourcepkg} static binaries"
long_desc="${long_desc}
This package contains the static binaries and library, that can be
used on any GNU/Linux distribution matching the architecture."
do_install()
{
mkdir -p ${DESTDIR}/sbin ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/sbin/*.static ${DESTDIR}/sbin
mv ${SRCPKGDESTDIR}/lib/*.a ${DESTDIR}/usr/lib
}