You are not logged in.
Pages: 1
dia2code is a small utility to convert dia UML diagrams to different language sourcecodes (C++, java, python, etc)
PKGBUILD
pkgname=dia2code
pkgver=0.8.1
pkgrel=1
pkgdesc="Dia2Code is a small utility used to generate code from a Dia diagram."
url="http://dia2code.sourceforge.net"
depends=('libxml2')
makedepends=()
source=("http://unc.dl.sourceforge.net/sourceforge/dia2code/$pkgname-$pkgver.tar.gz" "dia2code.h.patch")
md5sums=('549eb4da412d92d779bcd3e65175064f' 'f7cf979e7894a72a542f68a74f3019e3')
build() {
cd $startdir/src/$pkgname-$pkgver
cd dia2code
patch -i ../../../$pkgname-$pkgver.patch
cd ..
./configure --prefix=/usr
make || return 1
make prefix=$startdir/pkg/usr install
}
Offline
ok, i fixed the problem with the libxml2 library in a more elegan way , so here is the r2 PKGBUILD:
pkgname=dia2code
pkgver=0.8.1
pkgrel=2
pkgdesc="Dia2Code is a small utility used to generate code from a Dia diagram."
url="http://dia2code.sourceforge.net"
depends=('libxml2')
makedepends=()
source=("http://unc.dl.sourceforge.net/sourceforge/dia2code/$pkgname-$pkgver.tar.gz" )
md5sums=('549eb4da412d92d779bcd3e65175064f')
build() {
cd $startdir/src/$pkgname-$pkgver
CFLAGS="${CFLAGS} -I/usr/include/libxml2/libxml"
./configure --prefix=/usr
--host="${CHOST}"
make || return 1
make prefix=$startdir/pkg/usr install
}
Offline
Pages: 1