version=\ ( '0.2.5' ) url=\ ( "http://downloads.sourceforge.net/libtirpc/$version/libtirpc-$version.tar.bz2" ) md5=\ ( '8cd41a5ef5a9b50d0fb6abb98af15368' ) maintainer=\ ( 'Ricardo Martins ' ) configure() { "../libtirpc-$version/configure" \ --target="$cfg_target_canonical" \ --host="$cfg_target_canonical" \ --build="$cfg_host_canonical" \ --prefix="$cfg_dir_toolchain_sysroot/usr" \ --disable-gssapi \ --disable-ipv6 \ --disable-static \ --enable-shared } build() { $cmd_make } host_install() { $cmd_make install } target_install() { $cmd_mkdir "$cfg_dir_rootfs/etc" $cmd_cp "doc/netconfig" "$cfg_dir_rootfs/etc/netconfig" for f in "$cfg_dir_toolchain_sysroot/usr/lib/"libtirpc*so*; do if [ -L "$f" ]; then cp -vd "$f" "$cfg_dir_rootfs/lib" else $cmd_target_strip -v "$f" -o "$cfg_dir_rootfs/lib/$(basename "$f")" fi done }