diff --git a/srcpkgs/busybox-static/files b/srcpkgs/busybox-static/files new file mode 120000 index 00000000000..282d65b8cdf --- /dev/null +++ b/srcpkgs/busybox-static/files @@ -0,0 +1 @@ +../busybox/files \ No newline at end of file diff --git a/srcpkgs/busybox-static/template b/srcpkgs/busybox-static/template new file mode 100644 index 00000000000..f64b709eb98 --- /dev/null +++ b/srcpkgs/busybox-static/template @@ -0,0 +1,11 @@ +. ${XBPS_SRCPKGDIR}/busybox/template + +pkgname="busybox-static" +wrksrc="busybox-${version}" +short_desc+=" (statically linked)" + +CFLAGS+=" -static" + +do_install() { + vbin busybox busybox.static +}