forked from ports/contrib
tinyxml: new port
This commit is contained in:
parent
9afd7bb63c
commit
f15cd0ebfd
9
tinyxml/.footprint
Normal file
9
tinyxml/.footprint
Normal file
@ -0,0 +1,9 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/include/
|
||||
-rw-r--r-- root/root usr/include/tinystr.h
|
||||
-rw-r--r-- root/root usr/include/tinyxml.h
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
-rw-r--r-- root/root usr/lib/libtinyxml.2.6.1.so
|
||||
lrwxrwxrwx root/root usr/lib/libtinyxml.2.6.so -> libtinyxml.2.6.1.so
|
||||
lrwxrwxrwx root/root usr/lib/libtinyxml.2.so -> libtinyxml.2.6.1.so
|
||||
lrwxrwxrwx root/root usr/lib/libtinyxml.so -> libtinyxml.2.6.1.so
|
2
tinyxml/.md5sum
Normal file
2
tinyxml/.md5sum
Normal file
@ -0,0 +1,2 @@
|
||||
b6cc2d9330707373d920f760793c6311 entity.patch
|
||||
60f92af4f43364ab0c6d5b655e804bd3 tinyxml_2_6_1.zip
|
28
tinyxml/Pkgfile
Normal file
28
tinyxml/Pkgfile
Normal file
@ -0,0 +1,28 @@
|
||||
# Description: simple, small, C++ XML parser
|
||||
# URL: http://www.grinninglizard.com/tinyxml/
|
||||
# Maintainer: Bartlomiej Palmowski, rotwang at crux dot org dot pl
|
||||
# Depends on:
|
||||
|
||||
name=tinyxml
|
||||
version=2.6.1
|
||||
release=1
|
||||
source=(
|
||||
http://dl.sourceforge.net/project/$name/$name/$version/${name}_${version//./_}.zip
|
||||
entity.patch
|
||||
)
|
||||
|
||||
shopt -s extglob
|
||||
build() {
|
||||
soname=lib$name.$version.so
|
||||
cd $name
|
||||
# http://tinyurl.com/2v66ja4
|
||||
patch -p0 -i ../entity.patch
|
||||
mkdir -p $PKG/usr/include
|
||||
install -m 0644 *.h $_
|
||||
g++ $CXXFLAGS -fPIC -shared -o $soname !(xmltest).cpp
|
||||
install -D -m 0644 $soname $PKG/usr/lib/$soname
|
||||
cd $PKG/usr/lib
|
||||
ln -s $soname ${soname%%.*}.so
|
||||
ln -s $soname ${soname%.*.*.so}.so
|
||||
ln -s $soname ${soname%.*.so}.so
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user