Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
41 lines (40 sloc) 1.28 KB
opam-version: "2.0"
maintainer: "Romain Beauxis <toots@rastageeks.org>"
authors: "The Savonet Team <savonet-users@lists.sourceforge.net>"
homepage: "https://github.com/savonet/ocaml-lame"
build: [
["./configure" "--prefix" prefix] {os != "macos"}
[
"./configure"
"CFLAGS=-I/usr/local/include"
"LDFLAGS=-L/usr/local/lib"
"OCAMLFLAGS=-ccopt -I/usr/local/include -cclib -L/usr/local/lib"
"--prefix"
prefix
] {os = "macos"}
[make]
]
install: [
[make "install"]
]
remove: ["ocamlfind" "remove" "lame"]
depends: ["ocaml" "ocamlfind"]
depexts: [
["lame-dev"] {os-distribution = "alpine"}
["lame-devel"] {os-distribution = "centos"}
["lame-devel"] {os-distribution = "fedora"}
["lame-devel"] {os-distribution = "opensuse"}
["libmp3lame-dev"] {os-distribution = "debian"}
["libmp3lame-dev"] {os-distribution = "ubuntu"}
["lame"] {os = "macos" & os-distribution = "homebrew"}
]
bug-reports: "https://github.com/savonet/ocaml-lame/issues"
dev-repo: "git+https://github.com/savonet/ocaml-lame.git"
synopsis:
"Bindings for the lame library which provides functions for encoding mp3 files"
flags: light-uninstall
url {
src:
"https://github.com/savonet/ocaml-lame/releases/download/0.3.3/ocaml-lame-0.3.3.tar.gz"
checksum: "md5=a1585835f94f8d459157263ed2aaede3"
}