summaryrefslogtreecommitdiff
path: root/packages/popt/popt-native_1.7.bb
blob: d54e134cd397500f5d40c0b99b5fddf3c10fb1bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
require popt.inc

DEPENDS = "gettext-native"

FILE_PR = "r5"

inherit native autotools

SRC_URI = "ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.1.x/popt-${PV}.tar.gz \
	   file://m4.patch;patch=1 \
	   file://intl.patch;patch=1"

S = "${WORKDIR}/popt-${PV}"

FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/popt-${PV}"

do_install() {
	oe_libinstall -a -so libpopt ${STAGING_LIBDIR_NATIVE}
	install -m 0644 popt.h ${STAGING_INCDIR_NATIVE}
}