3 include $(TOPDIR
)/rules.mk
6 PKG_VERSION
:=20040621-cvs
8 PKG_MD5SUM
:=2077e620047404881a65d39c53c9917e
10 PKG_SOURCE_URL
:=ftp
://ftp.amselinux.net
/source
/
11 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
14 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
15 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
17 include $(TOPDIR
)/package
/rules.mk
19 $(eval
$(call PKG_template
,LIBAMSEL
,libamsel
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
21 $(PKG_BUILD_DIR
)/.configured
:
24 $(PKG_BUILD_DIR
)/.built
:
25 rm -rf
$(PKG_INSTALL_DIR
)
26 mkdir
-p
$(PKG_INSTALL_DIR
)
27 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
28 $(TARGET_CONFIGURE_OPTS
) \
29 LDIR
=$(PKG_BUILD_DIR
) \
30 PREFIX
="$(PKG_INSTALL_DIR)/usr" \
35 install -d
-m0755
$(IDIR_LIBAMSEL
)/usr
/lib
36 cp
-fpR
$(PKG_INSTALL_DIR
)/usr
/lib
/* $(IDIR_LIBAMSEL
)/usr
/lib
37 $(RSTRIP
) $(IDIR_LIBAMSEL
)
38 $(IPKG_BUILD
) $(IDIR_LIBAMSEL
) $(PACKAGE_DIR
)
41 $(STAGING_DIR
)/usr
/lib
/libamsel.so
: $(PKG_BUILD_DIR
)/.built
42 mkdir
-p
$(STAGING_DIR
)/usr
/include
43 cp
-fpR
$(PKG_INSTALL_DIR
)/usr
/include/amsel
/compat.h
$(STAGING_DIR
)/usr
/include/
44 mkdir
-p
$(STAGING_DIR
)/usr
/include/compat
45 cp
-fpR
$(PKG_INSTALL_DIR
)/usr
/include/amsel
/compat
/queue.h
$(STAGING_DIR
)/usr
/include/compat
46 mkdir
-p
$(STAGING_DIR
)/usr
/lib
/
47 cp
-fpR
$(PKG_INSTALL_DIR
)/usr
/lib
/libamsel.so
$(STAGING_DIR
)/usr
/lib
/
48 touch
$(STAGING_DIR
)/usr
/lib
/libamsel.so
50 install-dev
: $(STAGING_DIR
)/usr
/lib
/libamsel.so
54 $(STAGING_DIR
)/usr
/include/compat.h \
55 $(STAGING_DIR
)/usr
/include/compat \
56 $(STAGING_DIR
)/usr
/lib
/libamsel.so \
58 compile-targets
: install-dev
59 clean-targets
: uninstall-dev