abinfo "Building rtmpdump ..."
make \
    OPT="$CFLAGS" \
    XLDFLAGS="$LDFLAGS" \
    CC=i686-aosc-linux-gnu-gcc \
    CXX=i686-aosc-linux-gnu-g++

abinfo "Installing rtmpdump ..."
make install \
    DESTDIR="$PKGDIR" \
    SBINDIR=/opt/32/bin \
    prefix=/opt/32 \
    mandir=/opt/32/share/man
