aboutsummaryrefslogtreecommitdiff
path: root/meta-yerba
diff options
context:
space:
mode:
Diffstat (limited to 'meta-yerba')
-rw-r--r--meta-yerba/conf/distro/yerba.conf2
-rw-r--r--meta-yerba/recipes-devtools/pkgsrc/pkgsrc_%.bb17
-rw-r--r--meta-yerba/recipes-support/doas/doas_6.8.2.bb2
3 files changed, 19 insertions, 2 deletions
diff --git a/meta-yerba/conf/distro/yerba.conf b/meta-yerba/conf/distro/yerba.conf
index b1368a1..b78e3de 100644
--- a/meta-yerba/conf/distro/yerba.conf
+++ b/meta-yerba/conf/distro/yerba.conf
@@ -3,7 +3,7 @@ DISTRO_NAME = "Yerba Linux"
DISTRO_VERSION = "1.0.0"
MAINTAINER = "Arslaan Pathan <[email protected]>"
-TCLIBC = "musl"
+TCLIBC = "glibc"
IMAGE_INSTALL:append = " runit runit-config"
APPEND:append = " init=/sbin/runit-init"
diff --git a/meta-yerba/recipes-devtools/pkgsrc/pkgsrc_%.bb b/meta-yerba/recipes-devtools/pkgsrc/pkgsrc_%.bb
new file mode 100644
index 0000000..c760cbd
--- /dev/null
+++ b/meta-yerba/recipes-devtools/pkgsrc/pkgsrc_%.bb
@@ -0,0 +1,17 @@
+SUMMARY = "pkgsrc is a framework for managing third-party software on UNIX-like systems"
+DESCRIPTION = "NetBSD package manager"
+HOMEPAGE = "https://www.pkgsrc.org"
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-2-Clause;md5=cb641bc04cda31daea161b1bc15da69f"
+
+SRC_URI = "git://github.com/NetBSD/pkgsrc;protocol=https;branch=trunk"
+SRCREV = "46a4a767eef68a0de0edae7e094a3f09e1fcce5f"
+S = "${WORKDIR}/git"
+
+inherit autotools-brokensep
+
+do_install() {
+ cd ${S}/bootstrap
+
+ ./bootstrap --prefix ${D}/usr/pkg --machine-arch ${TARGET_ARCH} --compiler ${CC} --unprivileged --make-jobs ${BB_NUMBER_THREADS}
+}
diff --git a/meta-yerba/recipes-support/doas/doas_6.8.2.bb b/meta-yerba/recipes-support/doas/doas_6.8.2.bb
index 82a1e42..121bbb2 100644
--- a/meta-yerba/recipes-support/doas/doas_6.8.2.bb
+++ b/meta-yerba/recipes-support/doas/doas_6.8.2.bb
@@ -10,7 +10,7 @@ SRC_URI[sha256sum] = "6da058a0e70b7543bc60624389b0b00b686189ec933828c522bf8b2600
S = "${WORKDIR}/OpenDoas-6.8.2"
-DEPENDS = "libbsd bison-native"
+DEPENDS = "libbsd bison-native virtual/crypt libxcrypt"
do_configure() {
cd ${S}