Ich kenn pkgconfigure nicht. Ich vermute mal, dass es der Funktion ./configure entspricht.
Ne, eigentlich nicht:
Code
zypper if pkg-config
Repository-Daten werden geladen...
Installierte Pakete werden gelesen...
Informationen zu Paket pkg-config:
----------------------------------
Repository : OSS
Name : pkg-config
Version : 0.29.2-lp152.3.114
Arch : x86_64
Anbieter : openSUSE
Installierte Größe : 675,4 KiB
Installiert : Ja (automatisch)
Status : aktuell
Quellpaket : pkg-config-0.29.2-lp152.3.114.src
Zusammenfassung : Ein Bibliotheksverwaltungssystem
Beschreibung :
The pkg-config program is used to retrieve information about installed
libraries in the system. It is typically used to compile and link
against one or more libraries.
Alles anzeigen
Fast jedes -devel hat heute ein Textfile, welches in /usr/lib64/pkgconfig abgelegt wird:
Code
ls -al /usr/lib64/pkgconfig/ | grep -i portaudio
-rw-r--r-- 1 root root 245 16. Mai 20:25 portaudio-2.0.pc
-rw-r--r-- 1 root root 230 16. Mai 20:25 portaudiocpp.pc
Code
cat /usr/lib64/pkgconfig/portaudio-2.0.pc
prefix=/usr
exec_prefix=/usr
libdir=/usr/lib64
includedir=/usr/include
Name: PortAudio
Description: Portable audio I/O
Requires:
Version: 19
Libs: -L${libdir} -lportaudio -lasound -lm -lpthread
Cflags: -I${includedir} -pthread
Requires: alsa
Alles anzeigen
Und damit wird dann Distributionsübergreifend das -devel Paket festgelegt.
Wenn man z.B. in einer Datei zur Erstellung eines rpm-Paketes statt
Requires: portaudio-devel
Requires: pkgconfig(portaudio-2.0)
kann man damit verschieden Namen des gleichen Paketes in unterschiedlichen Distributionen aus dem Weg gehen. Und mit einem spec rpms für unterschiedliche Distributionen bauen. Wird so im OBS gehandhabt.