Skip to content

Commit ac888f7

Browse files
committed
Switch to using pkg-config for the test
1 parent 7ef8e73 commit ac888f7

File tree

2 files changed

+2
-25
lines changed

2 files changed

+2
-25
lines changed

packages/conf-openbabel/conf-openbabel.0.1/files/test.cpp

Lines changed: 0 additions & 8 deletions
This file was deleted.

packages/conf-openbabel/conf-openbabel.0.1/opam

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,8 @@ homepage: "http://openbabel.org/"
44
license: "GPL-1.0-or-later"
55
authors: "http://openbabel.org/wiki/THANKS"
66
bug-reports: "https://github.com/ocaml/opam-repository/issues"
7-
build: [
8-
[ "c++"
9-
"-I/usr/include/openbabel-2.0"
10-
"-I/usr/include/openbabel3"
11-
"test.cpp"
12-
"-lopenbabel"
13-
] {os != "macos"}
14-
[
15-
"c++"
16-
"-I/usr/local/include/openbabel-2.0"
17-
"-I/usr/local/include/openbabel3"
18-
"test.cpp"
19-
"-L/usr/local/lib"
20-
"-lopenbabel"
21-
] {os = "macos"}
22-
]
7+
build: [["pkg-config" "openbabel-3"]]
8+
depends: ["conf-pkg-config" {build}]
239
x-ci-accept-failures: ["debian-11" "debian-unstable" "alpine-3.18"]
2410
depexts: [
2511
["libopenbabel-dev"] {os-family = "debian" | os-family = "ubuntu"}
@@ -34,5 +20,4 @@ synopsis: "Virtual package relying on openbabel library installation"
3420
description: """
3521
This package can only install if the openbabel devel library is installed
3622
on the system."""
37-
extra-files: ["test.cpp" "md5=0a2f6ad381a1624089cd12718bfbfdd8"]
3823
flags: conf

0 commit comments

Comments
 (0)