pkgconfig files werden jetzt hinzugefuegt
git-svn-id: svn://svn.compuextreme.de/Viitor/V962/ViitorMake@5650 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
parent
9727c54059
commit
aa70e71134
@ -103,5 +103,56 @@ mk() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
echo "Nothing to do for postmk()"
|
mkdir $TMPROOT/usr/lib/pkgconfig
|
||||||
|
cat > $TMPROOT/usr/lib/pkgconfig/libv4l2.pc <<EOF
|
||||||
|
prefix=/usr
|
||||||
|
exec_prefix=\${prefix}
|
||||||
|
libdir=\${exec_prefix}/lib
|
||||||
|
includedir=\${prefix}/include
|
||||||
|
|
||||||
|
Name: libv4l2
|
||||||
|
Description: V4L abstraction library
|
||||||
|
Version: 0.1
|
||||||
|
Libs: -L\${libdir} -lv4l1
|
||||||
|
Cflags:
|
||||||
|
EOF
|
||||||
|
cat > $TMPROOT/usr/lib/pkgconfig/libv4l1.pc <<EOF
|
||||||
|
prefix=/usr
|
||||||
|
exec_prefix=\${prefix}
|
||||||
|
libdir=\${exec_prefix}/lib
|
||||||
|
includedir=\${prefix}/include
|
||||||
|
|
||||||
|
Name: libv4l1
|
||||||
|
Description: V4L abstraction library
|
||||||
|
Version: 0.1
|
||||||
|
Libs: -L\${libdir} -lv4l1
|
||||||
|
Cflags:
|
||||||
|
EOF
|
||||||
|
if [ "$MK64BIT" == "true" ]; then
|
||||||
|
mkdir $TMPROOT/usr/lib64/pkgconfig
|
||||||
|
cat > $TMPROOT/usr/lib64/pkgconfig/libv4l2.pc <<EOF
|
||||||
|
prefix=/usr
|
||||||
|
exec_prefix=\${prefix}
|
||||||
|
libdir=\${exec_prefix}/lib64
|
||||||
|
includedir=\${prefix}/include
|
||||||
|
|
||||||
|
Name: libv4l2
|
||||||
|
Description: V4L abstraction library
|
||||||
|
Version: 0.1
|
||||||
|
Libs: -L\${libdir} -lv4l1
|
||||||
|
Cflags:
|
||||||
|
EOF
|
||||||
|
cat > $TMPROOT/usr/lib64/pkgconfig/libv4l1.pc <<EOF
|
||||||
|
prefix=/usr
|
||||||
|
exec_prefix=\${prefix}
|
||||||
|
libdir=\${exec_prefix}/lib64
|
||||||
|
includedir=\${prefix}/include
|
||||||
|
|
||||||
|
Name: libv4l1
|
||||||
|
Description: V4L abstraction library
|
||||||
|
Version: 0.1
|
||||||
|
Libs: -L\${libdir} -lv4l1
|
||||||
|
Cflags:
|
||||||
|
EOF
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user