Re: Questions about creating a development package
"Jan Niklas Hasse" <[email protected]>
| Newsgroups | gmane.comp.autopackage.devel |
|---|---|
| Message-ID | <[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. 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. --------------------------------------------------------------------- To unsubscribe, e-mail: autopackage-dev-unsubscribe-OfajU3CKLf1/[email protected] For additional commands, e-mail: autopackage-dev-help-OfajU3CKLf1/[email protected]
default.apspec
(application/octet-stream, 811 B) - not displayed