| 1 | # Description: CRUX's portdb command line client |
| 2 | # URL: NA |
| 3 | # Maintainer: Jose V Beneyto, sepen at crux dot nu |
| 4 | # Packager: Jose V Beneyto, sepen at crux dot nu |
| 5 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu |
| 6 | # Depends on: curl libxml2 |
| 7 | |
| 8 | name=portdbc |
| 9 | version=1.0 |
| 10 | release=1 |
| 11 | source=(http://sepen.mine.nu/releases/$name-$version.tar.bz2) |
| 12 | |
| 13 | build() { |
| 14 | cd $name-$version |
| 15 | install -d $PKG/usr/bin |
| 16 | $CC -I$CLFS/usr/include -I$CLFS/usr/include/libxml2 -L$CLFS/usr/lib -lcurl -lxml2 -lz -lm -o $PKG/usr/bin/$name $name.c |
| 17 | } |