add lib generation and sample pkg-config file
docs