mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 20:13:32 +01:00
21 lines
319 B
Bash
21 lines
319 B
Bash
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
# ytools_config_files="$1"
|
|
. ytools-functions.sh
|
|
descr=`_ytools_cat_section "$1" description`
|
|
|
|
cat <<-EOT
|
|
prefix=/usr
|
|
exec_prefix=${prefix}
|
|
includedir=${prefix}/include
|
|
libdir=${exec_prefix}/lib
|
|
|
|
Name: foo
|
|
Description: $descr
|
|
Version: 1.0.0
|
|
Cflags: -I${includedir}/foo
|
|
Libs: -L${libdir} -lfoo
|
|
EOT
|
|
|