blob: abba11b484d39a82e694dfdd3e3b670fa968a91c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
DEPENDS = "virtual/libc"
RDEPENDS = "libc6"
DESCRIPTION = "The popt library exists essentially \
for parsing command line options."
SRC_URI = ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.1.x/popt-${PV}.tar.gz \
file://${FILESDIR}/m4.patch;patch=1
inherit autotools libtool
do_stage () {
install -m 0755 .libs/libpopt.so.0.0.0 ${STAGING_LIBDIR}/
ln -sf libpopt.so.0.0.0 ${STAGING_LIBDIR}/libpopt.so.0
ln -sf libpopt.so.0.0.0 ${STAGING_LIBDIR}/libpopt.so
install -m 0644 .libs/libpopt.a ${STAGING_LIBDIR}/
install -m 0644 .libs/libpopt.lai ${STAGING_LIBDIR}/libpopt.la
install -m 0644 popt.h ${STAGING_INCDIR}/
}
|