25 lines
963 B
YAML
25 lines
963 B
YAML
name: tinyxml
|
|
sources:
|
|
- type: archive
|
|
url: https://netcologne.dl.sourceforge.net/project/tinyxml/tinyxml/2.6.2/tinyxml_2_6_2.tar.gz
|
|
sha256: 15bdfdcec58a7da30adc87ac2b078e4417dbe5392f3afb719f9ba6d062645593
|
|
- type: file
|
|
url: https://git.archlinux.org/svntogit/community.git/plain/trunk/tinyxml.pc?h=packages/tinyxml
|
|
sha256: 0e37a568eaebb8f0644f148a3d3efa921ac518217e1c0de46c2859d26516bcc4
|
|
dest-filename: tinyxml.pc
|
|
- type: patch
|
|
path: tinyxml-2.5.3-stl.patch
|
|
- type: file
|
|
path: entity.patch
|
|
- type: file
|
|
path: tinyxml.patch
|
|
buildsystem: simple
|
|
build-commands:
|
|
- patch -p0 -i entity.patch
|
|
- patch -p0 -i tinyxml.patch
|
|
- make
|
|
- g++ -fPIC "$CXXFLAGS" -shared -o "libtinyxml.so" -Wl,-soname,"libtinyxml.so" $(ls *.o | grep -v xmltest)
|
|
- install libtinyxml.so /app/lib
|
|
- install tinyxml.pc /app/lib/pkgconfig/tinyxml.pc
|
|
- install *.h /app/include
|