Skip to content

Commit

Permalink
Add libxml2 package (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
kylewlacy authored Oct 16, 2024
1 parent 938b9b1 commit 3b79ef5
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/libxml2/brioche.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 23 additions & 0 deletions packages/libxml2/project.bri
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import * as std from "std";

export const project = {
name: "libxml2",
version: "2.9.9",
};

export const source = Brioche.download(
`https://download.gnome.org/sources/libxml2/2.9/libxml2-${project.version}.tar.xz`,
)
.unarchive("tar", "xz")
.peel();

export default function (): std.Recipe<std.Directory> {
return std.runBash`
./configure --prefix=/
make
make install DESTDIR="$BRIOCHE_OUTPUT"
`
.workDir(source)
.dependencies(std.toolchain())
.toDirectory();
}

0 comments on commit 3b79ef5

Please sign in to comment.