Re: Questions about creating a development package
"Isak Savo" <[email protected]>
| Newsgroups | gmane.comp.autopackage.devel |
|---|---|
| Message-ID | <[email protected]> |
2007/10/16, Jan Niklas Hasse <[email protected]>: > > > > So i need to check if libpng, glib-2.0 and xxf86vm are available for > > > pkg-config. Is there a command to do this? > > > > No I don't think so, but it should be fairly straightforward. > > DIRS_TO_CHECK="/usr/share/pkg-config:$PKG_CONFIG_PATH" > > IFS=: > > for dir in $DIRS_TO_CHECK; do > > if [ -f "$dir/the-file.pc" ]; then > > #Whohoo, it exists > > etc. > > > > Thanks, i tried to create a sceleton for libpng-dev (attached). But it seems > not to work, i think i did something wrong with setting the > INTERFACE_VERSION variable. I think you attached the wrong file :-) > And i should extract the package-version out of the .pc-File, but i don't > know much about bash, maybe you can help me. I'm on a windows machine now, but doesn't pkg-config (the binary) have a switch called '--modversion' that you could use for this? -Isak --------------------------------------------------------------------- To unsubscribe, e-mail: autopackage-dev-unsubscribe-OfajU3CKLf1/[email protected] For additional commands, e-mail: autopackage-dev-help-OfajU3CKLf1/[email protected]