xbps-devel: add -static subpkg with static bins/lib.
--HG-- extra : convert_revision : 3a916f3cc083f131410133bab05f0c25393df81c
This commit is contained in:
parent
96ffcf4b86
commit
d83d845189
3 changed files with 16 additions and 0 deletions
1
srcpkgs/xbps-devel-static
Symbolic link
1
srcpkgs/xbps-devel-static
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
xbps-devel
|
|
@ -11,6 +11,7 @@ long_desc="
|
||||||
binary package manager. This packages includes code from a development
|
binary package manager. This packages includes code from a development
|
||||||
branch available from https://launchpad.net/xbps"
|
branch available from https://launchpad.net/xbps"
|
||||||
|
|
||||||
|
subpackages="$pkgname-static"
|
||||||
replaces="xbps"
|
replaces="xbps"
|
||||||
nofetch=yes
|
nofetch=yes
|
||||||
noextract=yes
|
noextract=yes
|
||||||
|
|
14
srcpkgs/xbps-devel/xbps-devel-static.template
Normal file
14
srcpkgs/xbps-devel/xbps-devel-static.template
Normal 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
|
||||||
|
}
|
Loading…
Reference in a new issue