|
|
@ -1,6 +1,6 @@ |
|
|
|
# makefile to build system tools
|
|
|
|
|
|
|
|
$(D)/openvpn: $(D)/lzo $(D)/openssl $(ARCHIVE)/openvpn-$(OPENVPN_VER).tar.xz | $(TARGETPREFIX) |
|
|
|
$(D)/openvpn: $(D)/lzo $(D)/openssl $(ARCHIVE)/openvpn-$(OPENVPN_VER).tar.xz | $(TARGET_DIR) |
|
|
|
$(UNTAR)/openvpn-$(OPENVPN_VER).tar.xz |
|
|
|
cd $(BUILD_TMP)/openvpn-$(OPENVPN_VER) && \
|
|
|
|
$(CONFIGURE) \
|
|
|
@ -21,11 +21,11 @@ $(D)/openvpn: $(D)/lzo $(D)/openssl $(ARCHIVE)/openvpn-$(OPENVPN_VER).tar.xz | $ |
|
|
|
--disable-plugins \
|
|
|
|
--disable-pkcs11 && \
|
|
|
|
$(MAKE) && \
|
|
|
|
$(MAKE) install DESTDIR=$(TARGETPREFIX) |
|
|
|
$(MAKE) install DESTDIR=$(TARGET_DIR) |
|
|
|
$(REMOVE)/openvpn-$(OPENVPN_VER) |
|
|
|
touch $@ |
|
|
|
|
|
|
|
$(D)/openssh: $(D)/openssl $(D)/zlib $(ARCHIVE)/openssh-$(OPENSSH_VER).tar.gz | $(TARGETPREFIX) |
|
|
|
$(D)/openssh: $(D)/openssl $(D)/zlib $(ARCHIVE)/openssh-$(OPENSSH_VER).tar.gz | $(TARGET_DIR) |
|
|
|
$(UNTAR)/openssh-$(OPENSSH_VER).tar.gz |
|
|
|
cd $(BUILD_TMP)/openssh-$(OPENSSH_VER) && \
|
|
|
|
export ac_cv_search_dlopen=no && \
|
|
|
@ -49,7 +49,7 @@ $(D)/openssh: $(D)/openssl $(D)/zlib $(ARCHIVE)/openssh-$(OPENSSH_VER).tar.gz | |
|
|
|
--disable-pututline \
|
|
|
|
--disable-pututxline && \
|
|
|
|
$(MAKE) && \
|
|
|
|
$(MAKE) install DESTDIR=$(TARGETPREFIX) |
|
|
|
$(MAKE) install DESTDIR=$(TARGET_DIR) |
|
|
|
$(REMOVE)/openssh-$(OPENSSH_VER) |
|
|
|
touch $@ |
|
|
|
|
|
|
@ -59,7 +59,7 @@ else |
|
|
|
LOC_TIME = etc/localtime |
|
|
|
endif |
|
|
|
|
|
|
|
$(D)/timezone: $(ARCHIVE)/tzdata$(TZDATA_VER).tar.gz | $(TARGETPREFIX) |
|
|
|
$(D)/timezone: $(ARCHIVE)/tzdata$(TZDATA_VER).tar.gz | $(TARGET_DIR) |
|
|
|
$(REMOVE)/timezone |
|
|
|
mkdir $(BUILD_TMP)/timezone $(BUILD_TMP)/timezone/zoneinfo |
|
|
|
tar -C $(BUILD_TMP)/timezone -xf $(ARCHIVE)/tzdata$(TZDATA_VER).tar.gz |
|
|
@ -77,14 +77,14 @@ $(D)/timezone: $(ARCHIVE)/tzdata$(TZDATA_VER).tar.gz | $(TARGETPREFIX) |
|
|
|
done; \
|
|
|
|
test -e zoneinfo/$$x || echo "WARNING: timezone $$x not found."; \
|
|
|
|
done; \
|
|
|
|
install -d -m 0755 $(TARGETPREFIX)/share/ $(TARGETPREFIX)/etc; \
|
|
|
|
mv zoneinfo/ $(TARGETPREFIX)/share/ |
|
|
|
install -m 0644 $(IMAGEFILES)/timezone/timezone.xml $(TARGETPREFIX)/etc/ |
|
|
|
cp $(TARGETPREFIX)/share/zoneinfo/CET $(TARGETPREFIX)/$(LOC_TIME) |
|
|
|
install -d -m 0755 $(TARGET_DIR)/share/ $(TARGET_DIR)/etc; \
|
|
|
|
mv zoneinfo/ $(TARGET_DIR)/share/ |
|
|
|
install -m 0644 $(IMAGEFILES)/timezone/timezone.xml $(TARGET_DIR)/etc/ |
|
|
|
cp $(TARGET_DIR)/share/zoneinfo/CET $(TARGET_DIR)/$(LOC_TIME) |
|
|
|
$(REMOVE)/timezone |
|
|
|
touch $@ |
|
|
|
|
|
|
|
$(D)/mtd-utils: $(D)/zlib $(D)/lzo $(D)/e2fsprogs $(ARCHIVE)/mtd-utils-$(MTD-UTILS_VER).tar.bz2 | $(TARGETPREFIX) |
|
|
|
$(D)/mtd-utils: $(D)/zlib $(D)/lzo $(D)/e2fsprogs $(ARCHIVE)/mtd-utils-$(MTD-UTILS_VER).tar.bz2 | $(TARGET_DIR) |
|
|
|
$(UNTAR)/mtd-utils-$(MTD-UTILS_VER).tar.bz2 |
|
|
|
pushd $(BUILD_TMP)/mtd-utils-$(MTD-UTILS_VER) && \
|
|
|
|
$(CONFIGURE) \
|
|
|
@ -97,17 +97,17 @@ $(D)/mtd-utils: $(D)/zlib $(D)/lzo $(D)/e2fsprogs $(ARCHIVE)/mtd-utils-$(MTD-UTI |
|
|
|
&& \
|
|
|
|
$(MAKE) |
|
|
|
ifeq ($(BOXSERIES), hd2) |
|
|
|
install -D -m 0755 $(BUILD_TMP)/mtd-utils-$(MTD-UTILS_VER)/nanddump $(TARGETPREFIX)/sbin |
|
|
|
install -D -m 0755 $(BUILD_TMP)/mtd-utils-$(MTD-UTILS_VER)/nandtest $(TARGETPREFIX)/sbin |
|
|
|
install -D -m 0755 $(BUILD_TMP)/mtd-utils-$(MTD-UTILS_VER)/nandwrite $(TARGETPREFIX)/sbin |
|
|
|
install -D -m 0755 $(BUILD_TMP)/mtd-utils-$(MTD-UTILS_VER)/mtd_debug $(TARGETPREFIX)/sbin |
|
|
|
install -D -m 0755 $(BUILD_TMP)/mtd-utils-$(MTD-UTILS_VER)/mkfs.jffs2 $(TARGETPREFIX)/sbin |
|
|
|
install -D -m 0755 $(BUILD_TMP)/mtd-utils-$(MTD-UTILS_VER)/nanddump $(TARGET_DIR)/sbin |
|
|
|
install -D -m 0755 $(BUILD_TMP)/mtd-utils-$(MTD-UTILS_VER)/nandtest $(TARGET_DIR)/sbin |
|
|
|
install -D -m 0755 $(BUILD_TMP)/mtd-utils-$(MTD-UTILS_VER)/nandwrite $(TARGET_DIR)/sbin |
|
|
|
install -D -m 0755 $(BUILD_TMP)/mtd-utils-$(MTD-UTILS_VER)/mtd_debug $(TARGET_DIR)/sbin |
|
|
|
install -D -m 0755 $(BUILD_TMP)/mtd-utils-$(MTD-UTILS_VER)/mkfs.jffs2 $(TARGET_DIR)/sbin |
|
|
|
endif |
|
|
|
install -D -m 0755 $(BUILD_TMP)/mtd-utils-$(MTD-UTILS_VER)/flash_erase $(TARGETPREFIX)/sbin |
|
|
|
install -D -m 0755 $(BUILD_TMP)/mtd-utils-$(MTD-UTILS_VER)/flash_erase $(TARGET_DIR)/sbin |
|
|
|
$(REMOVE)/mtd-utils-$(MTD-UTILS_VER) |
|
|
|
touch $@ |
|
|
|
|
|
|
|
$(D)/iperf: $(ARCHIVE)/iperf-$(IPERF_VER)-source.tar.gz | $(TARGETPREFIX) |
|
|
|
$(D)/iperf: $(ARCHIVE)/iperf-$(IPERF_VER)-source.tar.gz | $(TARGET_DIR) |
|
|
|
$(UNTAR)/iperf-$(IPERF_VER)-source.tar.gz |
|
|
|
pushd $(BUILD_TMP)/iperf-$(IPERF_VER); \
|
|
|
|
$(PATCH)/iperf-disable-profiling.patch && \
|
|
|
@ -116,11 +116,11 @@ $(D)/iperf: $(ARCHIVE)/iperf-$(IPERF_VER)-source.tar.gz | $(TARGETPREFIX) |
|
|
|
--prefix= \
|
|
|
|
--mandir=/.remove; \
|
|
|
|
$(MAKE); \
|
|
|
|
$(MAKE) install DESTDIR=$(TARGETPREFIX) |
|
|
|
$(MAKE) install DESTDIR=$(TARGET_DIR) |
|
|
|
$(REMOVE)/iperf-$(IPERF_VER) |
|
|
|
touch $@ |
|
|
|
|
|
|
|
$(D)/parted: $(D)/e2fsprogs $(ARCHIVE)/parted-$(PARTED_VER).tar.xz | $(TARGETPREFIX) |
|
|
|
$(D)/parted: $(D)/e2fsprogs $(ARCHIVE)/parted-$(PARTED_VER).tar.xz | $(TARGET_DIR) |
|
|
|
$(UNTAR)/parted-$(PARTED_VER).tar.xz |
|
|
|
cd $(BUILD_TMP)/parted-$(PARTED_VER) && \
|
|
|
|
$(PATCH)/parted-3.2-devmapper-1.patch && \
|
|
|
@ -139,23 +139,23 @@ $(D)/parted: $(D)/e2fsprogs $(ARCHIVE)/parted-$(PARTED_VER).tar.xz | $(TARGETPRE |
|
|
|
--disable-device-mapper \
|
|
|
|
--without-readline && \
|
|
|
|
$(MAKE) && \
|
|
|
|
$(MAKE) install DESTDIR=$(TARGETPREFIX) |
|
|
|
$(MAKE) install DESTDIR=$(TARGET_DIR) |
|
|
|
$(REWRITE_LIBTOOL)/libparted.la |
|
|
|
$(REWRITE_LIBTOOL)/libparted-fs-resize.la |
|
|
|
$(REWRITE_PKGCONF) $(PKG_CONFIG_PATH)/libparted.pc |
|
|
|
$(REMOVE)/parted-$(PARTED_VER) |
|
|
|
touch $@ |
|
|
|
|
|
|
|
$(D)/hdparm: $(ARCHIVE)/hdparm-$(HDPARM_VER).tar.gz | $(TARGETPREFIX) |
|
|
|
$(D)/hdparm: $(ARCHIVE)/hdparm-$(HDPARM_VER).tar.gz | $(TARGET_DIR) |
|
|
|
$(UNTAR)/hdparm-$(HDPARM_VER).tar.gz |
|
|
|
pushd $(BUILD_TMP)/hdparm-$(HDPARM_VER) && \
|
|
|
|
$(BUILDENV) \
|
|
|
|
$(MAKE) CC=$(TARGET)-gcc STRIP=$(TARGET)-strip && \
|
|
|
|
install -m755 hdparm $(TARGETPREFIX)/sbin/hdparm |
|
|
|
install -m755 hdparm $(TARGET_DIR)/sbin/hdparm |
|
|
|
$(REMOVE)/hdparm-$(HDPARM_VER) |
|
|
|
touch $@ |
|
|
|
|
|
|
|
$(D)/hd-idle: $(ARCHIVE)/hd-idle-$(HDIDLE_VER).tgz | $(TARGETPREFIX) |
|
|
|
$(D)/hd-idle: $(ARCHIVE)/hd-idle-$(HDIDLE_VER).tgz | $(TARGET_DIR) |
|
|
|
$(UNTAR)/hd-idle-$(HDIDLE_VER).tgz |
|
|
|
pushd $(BUILD_TMP)/hd-idle && \
|
|
|
|
$(TARGET)-gcc $(TARGET_CFLAGS) $(TARGET_LDFLAGS) -o hd-idle hd-idle.c && \
|
|
|
@ -164,7 +164,7 @@ $(D)/hd-idle: $(ARCHIVE)/hd-idle-$(HDIDLE_VER).tgz | $(TARGETPREFIX) |
|
|
|
touch $@ |
|
|
|
|
|
|
|
# only used for "touch"
|
|
|
|
$(D)/coreutils: $(ARCHIVE)/coreutils-$(COREUTILS_VER).tar.xz | $(TARGETPREFIX) |
|
|
|
$(D)/coreutils: $(ARCHIVE)/coreutils-$(COREUTILS_VER).tar.xz | $(TARGET_DIR) |
|
|
|
$(UNTAR)/coreutils-$(COREUTILS_VER).tar.xz |
|
|
|
cd $(BUILD_TMP)/coreutils-$(COREUTILS_VER) && \
|
|
|
|
$(PATCH)/coreutils-fix-coolstream-build.patch && \
|
|
|
@ -183,7 +183,7 @@ $(D)/coreutils: $(ARCHIVE)/coreutils-$(COREUTILS_VER).tar.xz | $(TARGETPREFIX) |
|
|
|
$(REMOVE)/coreutils-$(COREUTILS_VER) |
|
|
|
touch $@ |
|
|
|
|
|
|
|
$(D)/less: $(D)/libncurses $(ARCHIVE)/less-$(LESS_VER).tar.gz | $(TARGETPREFIX) |
|
|
|
$(D)/less: $(D)/libncurses $(ARCHIVE)/less-$(LESS_VER).tar.gz | $(TARGET_DIR) |
|
|
|
$(REMOVE)/less-$(LESS_VER) |
|
|
|
$(UNTAR)/less-$(LESS_VER).tar.gz |
|
|
|
cd $(BUILD_TMP)/less-$(LESS_VER) && \
|
|
|
@ -193,11 +193,11 @@ $(D)/less: $(D)/libncurses $(ARCHIVE)/less-$(LESS_VER).tar.gz | $(TARGETPREFIX) |
|
|
|
--mandir=/.remove \
|
|
|
|
&& \
|
|
|
|
$(MAKE) && \
|
|
|
|
$(MAKE) install DESTDIR=$(TARGETPREFIX) |
|
|
|
$(MAKE) install DESTDIR=$(TARGET_DIR) |
|
|
|
$(REMOVE)/less-$(LESS_VER) |
|
|
|
touch $@ |
|
|
|
|
|
|
|
$(D)/ntp: $(ARCHIVE)/ntp-$(NTP_VER).tar.gz $(D)/openssl | $(TARGETPREFIX) |
|
|
|
$(D)/ntp: $(ARCHIVE)/ntp-$(NTP_VER).tar.gz $(D)/openssl | $(TARGET_DIR) |
|
|
|
$(UNTAR)/ntp-$(NTP_VER).tar.gz |
|
|
|
pushd $(BUILD_TMP)/ntp-$(NTP_VER) && \
|
|
|
|
$(CONFIGURE) \
|
|
|
@ -208,11 +208,11 @@ $(D)/ntp: $(ARCHIVE)/ntp-$(NTP_VER).tar.gz $(D)/openssl | $(TARGETPREFIX) |
|
|
|
--with-yielding-select=yes \
|
|
|
|
--without-ntpsnmpd && \
|
|
|
|
$(MAKE) |
|
|
|
mv -v $(BUILD_TMP)/ntp-$(NTP_VER)/ntpdate/ntpdate $(TARGETPREFIX)/sbin/ |
|
|
|
mv -v $(BUILD_TMP)/ntp-$(NTP_VER)/ntpdate/ntpdate $(TARGET_DIR)/sbin/ |
|
|
|
$(REMOVE)/ntp-$(NTP_VER) |
|
|
|
touch $@ |
|
|
|
|
|
|
|
$(D)/djmount: $(ARCHIVE)/djmount-$(DJMOUNT_VER).tar.gz $(D)/libfuse | $(TARGETPREFIX) |
|
|
|
$(D)/djmount: $(ARCHIVE)/djmount-$(DJMOUNT_VER).tar.gz $(D)/libfuse | $(TARGET_DIR) |
|
|
|
$(UNTAR)/djmount-$(DJMOUNT_VER).tar.gz |
|
|
|
pushd $(BUILD_TMP)/djmount-$(DJMOUNT_VER) && \
|
|
|
|
$(PATCH)/djmount-fix-hang-with-asset-upnp.patch && \
|
|
|
@ -228,21 +228,21 @@ $(D)/djmount: $(ARCHIVE)/djmount-$(DJMOUNT_VER).tar.gz $(D)/libfuse | $(TARGETPR |
|
|
|
--prefix= \
|
|
|
|
--disable-debug && \
|
|
|
|
make && \
|
|
|
|
make install DESTDIR=$(TARGETPREFIX) |
|
|
|
install -D -m 755 $(IMAGEFILES)/scripts/djmount.init $(TARGETPREFIX)/etc/init.d/djmount |
|
|
|
ln -sf djmount $(TARGETPREFIX)/etc/init.d/S99djmount |
|
|
|
ln -sf djmount $(TARGETPREFIX)/etc/init.d/K01djmount |
|
|
|
make install DESTDIR=$(TARGET_DIR) |
|
|
|
install -D -m 755 $(IMAGEFILES)/scripts/djmount.init $(TARGET_DIR)/etc/init.d/djmount |
|
|
|
ln -sf djmount $(TARGET_DIR)/etc/init.d/S99djmount |
|
|
|
ln -sf djmount $(TARGET_DIR)/etc/init.d/K01djmount |
|
|
|
$(REMOVE)/djmount-$(DJMOUNT_VER) |
|
|
|
touch $@ |
|
|
|
|
|
|
|
$(D)/ushare: $(ARCHIVE)/ushare-$(USHARE_VER).tar.bz2 $(D)/libupnp | $(TARGETPREFIX) |
|
|
|
$(D)/ushare: $(ARCHIVE)/ushare-$(USHARE_VER).tar.bz2 $(D)/libupnp | $(TARGET_DIR) |
|
|
|
$(UNTAR)/ushare-$(USHARE_VER).tar.bz2 |
|
|
|
pushd $(BUILD_TMP)/ushare-$(USHARE_VER) && \
|
|
|
|
$(PATCH)/ushare.diff && \
|
|
|
|
$(PATCH)/ushare-fix-building-with-gcc-5.x.patch && \
|
|
|
|
$(BUILDENV) \
|
|
|
|
./configure \
|
|
|
|
--prefix=$(TARGETPREFIX) \
|
|
|
|
--prefix=$(TARGET_DIR) \
|
|
|
|
--disable-dlna \
|
|
|
|
--disable-nls \
|
|
|
|
--cross-compile \
|
|
|
@ -252,14 +252,14 @@ $(D)/ushare: $(ARCHIVE)/ushare-$(USHARE_VER).tar.bz2 $(D)/libupnp | $(TARGETPREF |
|
|
|
ln -sf ../config.h src/ && \
|
|
|
|
$(MAKE) && \
|
|
|
|
$(MAKE) install && \
|
|
|
|
install -D -m 0644 $(IMAGEFILES)/scripts/ushare.conf $(TARGETPREFIX)/etc/ushare.conf |
|
|
|
install -D -m 0755 $(IMAGEFILES)/scripts/ushare.init $(TARGETPREFIX)/etc/init.d/ushare |
|
|
|
ln -sf ushare $(TARGETPREFIX)/etc/init.d/S99ushare |
|
|
|
ln -sf ushare $(TARGETPREFIX)/etc/init.d/K01ushare |
|
|
|
install -D -m 0644 $(IMAGEFILES)/scripts/ushare.conf $(TARGET_DIR)/etc/ushare.conf |
|
|
|
install -D -m 0755 $(IMAGEFILES)/scripts/ushare.init $(TARGET_DIR)/etc/init.d/ushare |
|
|
|
ln -sf ushare $(TARGET_DIR)/etc/init.d/S99ushare |
|
|
|
ln -sf ushare $(TARGET_DIR)/etc/init.d/K01ushare |
|
|
|
$(REMOVE)/ushare-$(USHARE_VER) |
|
|
|
touch $@ |
|
|
|
|
|
|
|
$(D)/smartmontools: $(ARCHIVE)/smartmontools-$(SMARTMON_VER).tar.gz | $(TARGETPREFIX) |
|
|
|
$(D)/smartmontools: $(ARCHIVE)/smartmontools-$(SMARTMON_VER).tar.gz | $(TARGET_DIR) |
|
|
|
$(UNTAR)/smartmontools-$(SMARTMON_VER).tar.gz |
|
|
|
cd $(BUILD_TMP)/smartmontools-$(SMARTMON_VER) && \
|
|
|
|
$(BUILDENV) \
|
|
|
@ -267,11 +267,11 @@ $(D)/smartmontools: $(ARCHIVE)/smartmontools-$(SMARTMON_VER).tar.gz | $(TARGETPR |
|
|
|
--target=$(TARGET) \
|
|
|
|
--prefix= && \
|
|
|
|
$(MAKE) && \
|
|
|
|
install -m755 smartctl $(TARGETPREFIX)/sbin/smartctl |
|
|
|
install -m755 smartctl $(TARGET_DIR)/sbin/smartctl |
|
|
|
$(REMOVE)/smartmontools-$(SMARTMON_VER) |
|
|
|
touch $@ |
|
|
|
|
|
|
|
$(D)/inadyn: $(D)/openssl $(D)/confuse $(D)/libite $(ARCHIVE)/inadyn-$(INADYN_VER).tar.xz | $(TARGETPREFIX) |
|
|
|
$(D)/inadyn: $(D)/openssl $(D)/confuse $(D)/libite $(ARCHIVE)/inadyn-$(INADYN_VER).tar.xz | $(TARGET_DIR) |
|
|
|
$(REMOVE)/inadyn-$(INADYN_VER) |
|
|
|
$(UNTAR)/inadyn-$(INADYN_VER).tar.xz |
|
|
|
cd $(BUILD_TMP)/inadyn-$(INADYN_VER) && \
|
|
|
@ -284,16 +284,16 @@ $(D)/inadyn: $(D)/openssl $(D)/confuse $(D)/libite $(ARCHIVE)/inadyn-$(INADYN_VE |
|
|
|
--docdir=/.remove \
|
|
|
|
--enable-openssl && \
|
|
|
|
$(MAKE); \
|
|
|
|
$(MAKE) install DESTDIR=$(TARGETPREFIX) |
|
|
|
install -D -m 644 $(IMAGEFILES)/scripts/inadyn.conf $(TARGETPREFIX)/var/etc/inadyn.conf |
|
|
|
ln -sf /var/etc/inadyn.conf $(TARGETPREFIX)/etc/inadyn.conf |
|
|
|
install -D -m 755 $(IMAGEFILES)/scripts/inadyn.init $(TARGETPREFIX)/etc/init.d/inadyn |
|
|
|
ln -sf inadyn $(TARGETPREFIX)/etc/init.d/S80inadyn |
|
|
|
ln -sf inadyn $(TARGETPREFIX)/etc/init.d/K60inadyn |
|
|
|
$(MAKE) install DESTDIR=$(TARGET_DIR) |
|
|
|
install -D -m 644 $(IMAGEFILES)/scripts/inadyn.conf $(TARGET_DIR)/var/etc/inadyn.conf |
|
|
|
ln -sf /var/etc/inadyn.conf $(TARGET_DIR)/etc/inadyn.conf |
|
|
|
install -D -m 755 $(IMAGEFILES)/scripts/inadyn.init $(TARGET_DIR)/etc/init.d/inadyn |
|
|
|
ln -sf inadyn $(TARGET_DIR)/etc/init.d/S80inadyn |
|
|
|
ln -sf inadyn $(TARGET_DIR)/etc/init.d/K60inadyn |
|
|
|
$(REMOVE)/inadyn-$(INADYN_VER) |
|
|
|
touch $@ |
|
|
|
|
|
|
|
$(D)/vsftpd: $(D)/openssl $(ARCHIVE)/vsftpd-$(VSFTPD_VER).tar.gz | $(TARGETPREFIX) |
|
|
|
$(D)/vsftpd: $(D)/openssl $(ARCHIVE)/vsftpd-$(VSFTPD_VER).tar.gz | $(TARGET_DIR) |
|
|
|
$(UNTAR)/vsftpd-$(VSFTPD_VER).tar.gz |
|
|
|
cd $(BUILD_TMP)/vsftpd-$(VSFTPD_VER) && \
|
|
|
|
$(PATCH)/vsftpd-fix-CVE-2015-1419.patch && \
|
|
|
@ -301,18 +301,18 @@ $(D)/vsftpd: $(D)/openssl $(ARCHIVE)/vsftpd-$(VSFTPD_VER).tar.gz | $(TARGETPREFI |
|
|
|
sed -i -e 's/.*VSF_BUILD_PAM/#undef VSF_BUILD_PAM/' builddefs.h && \
|
|
|
|
sed -i -e 's/.*VSF_BUILD_SSL/#define VSF_BUILD_SSL/' builddefs.h && \
|
|
|
|
make clean && \
|
|
|
|
TARGETPREFIX=$(TARGETPREFIX) make CC=$(TARGET)-gcc LIBS="-lcrypt -lcrypto -lssl" CFLAGS="$(TARGET_CFLAGS)" LDFLAGS="$(TARGET_LDFLAGS)" |
|
|
|
install -d $(TARGETPREFIX)/share/empty |
|
|
|
install -D -m 755 $(BUILD_TMP)/vsftpd-$(VSFTPD_VER)/vsftpd $(TARGETPREFIX)/sbin/vsftpd |
|
|
|
install -D -m 644 $(IMAGEFILES)/scripts/vsftpd.conf $(TARGETPREFIX)/etc/vsftpd.conf |
|
|
|
install -D -m 644 $(IMAGEFILES)/scripts/vsftpd.chroot_list $(TARGETPREFIX)/etc/vsftpd.chroot_list |
|
|
|
install -D -m 755 $(IMAGEFILES)/scripts/vsftpd.init $(TARGETPREFIX)/etc/init.d/vsftpd |
|
|
|
ln -sf vsftpd $(TARGETPREFIX)/etc/init.d/S53vsftpd |
|
|
|
ln -sf vsftpd $(TARGETPREFIX)/etc/init.d/K80vsftpd |
|
|
|
TARGET_DIR=$(TARGET_DIR) make CC=$(TARGET)-gcc LIBS="-lcrypt -lcrypto -lssl" CFLAGS="$(TARGET_CFLAGS)" LDFLAGS="$(TARGET_LDFLAGS)" |
|
|
|
install -d $(TARGET_DIR)/share/empty |
|
|
|
install -D -m 755 $(BUILD_TMP)/vsftpd-$(VSFTPD_VER)/vsftpd $(TARGET_DIR)/sbin/vsftpd |
|
|
|
install -D -m 644 $(IMAGEFILES)/scripts/vsftpd.conf $(TARGET_DIR)/etc/vsftpd.conf |
|
|
|
install -D -m 644 $(IMAGEFILES)/scripts/vsftpd.chroot_list $(TARGET_DIR)/etc/vsftpd.chroot_list |
|
|
|
install -D -m 755 $(IMAGEFILES)/scripts/vsftpd.init $(TARGET_DIR)/etc/init.d/vsftpd |
|
|
|
ln -sf vsftpd $(TARGET_DIR)/etc/init.d/S53vsftpd |
|
|
|
ln -sf vsftpd $(TARGET_DIR)/etc/init.d/K80vsftpd |
|
|
|
$(REMOVE)/vsftpd-$(VSFTPD_VER) |
|
|
|
touch $@ |
|
|
|
|
|
|
|
$(D)/procps-ng: $(D)/libncurses $(ARCHIVE)/procps-ng-$(PROCPS-NG_VER).tar.xz | $(TARGETPREFIX) |
|
|
|
$(D)/procps-ng: $(D)/libncurses $(ARCHIVE)/procps-ng-$(PROCPS-NG_VER).tar.xz | $(TARGET_DIR) |
|
|
|
$(UNTAR)/procps-ng-$(PROCPS-NG_VER).tar.xz |
|
|
|
cd $(BUILD_TMP)/procps-ng-$(PROCPS-NG_VER) && \
|
|
|
|
export ac_cv_func_malloc_0_nonnull=yes && \
|
|
|
@ -321,14 +321,14 @@ $(D)/procps-ng: $(D)/libncurses $(ARCHIVE)/procps-ng-$(PROCPS-NG_VER).tar.xz | $ |
|
|
|
--target=$(TARGET) \
|
|
|
|
--prefix= && \
|
|
|
|
$(MAKE) && \
|
|
|
|
rm -f $(TARGETPREFIX)/bin/ps $(TARGETPREFIX)/bin/top && \
|
|
|
|
install -D -m 755 top/.libs/top $(TARGETPREFIX)/bin/top && \
|
|
|
|
install -D -m 755 ps/.libs/pscommand $(TARGETPREFIX)/bin/ps && \
|
|
|
|
rm -f $(TARGET_DIR)/bin/ps $(TARGET_DIR)/bin/top && \
|
|
|
|
install -D -m 755 top/.libs/top $(TARGET_DIR)/bin/top && \
|
|
|
|
install -D -m 755 ps/.libs/pscommand $(TARGET_DIR)/bin/ps && \
|
|
|
|
cp -a proc/.libs/libprocps.so* $(TARGETLIB) |
|
|
|
$(REMOVE)/procps-ng-$(PROCPS-NG_VER) |
|
|
|
touch $@ |
|
|
|
|
|
|
|
$(D)/nano: $(D)/libncurses $(ARCHIVE)/nano-$(NANO_VER).tar.gz | $(TARGETPREFIX) |
|
|
|
$(D)/nano: $(D)/libncurses $(ARCHIVE)/nano-$(NANO_VER).tar.gz | $(TARGET_DIR) |
|
|
|
$(UNTAR)/nano-$(NANO_VER).tar.gz |
|
|
|
cd $(BUILD_TMP)/nano-$(NANO_VER) && \
|
|
|
|
export ac_cv_prog_NCURSESW_CONFIG=false && \
|
|
|
@ -336,11 +336,11 @@ $(D)/nano: $(D)/libncurses $(ARCHIVE)/nano-$(NANO_VER).tar.gz | $(TARGETPREFIX) |
|
|
|
--target=$(TARGET) \
|
|
|
|
--prefix= && \
|
|
|
|
$(MAKE) CURSES_LIB="-lncurses" && \
|
|
|
|
install -m755 src/nano $(TARGETPREFIX)/bin |
|
|
|
install -m755 src/nano $(TARGET_DIR)/bin |
|
|
|
$(REMOVE)/nano-$(NANO_VER) |
|
|
|
touch $@ |
|
|
|
|
|
|
|
$(D)/minicom: $(D)/libncurses $(ARCHIVE)/minicom-$(MINICOM_VER).tar.gz | $(TARGETPREFIX) |
|
|
|
$(D)/minicom: $(D)/libncurses $(ARCHIVE)/minicom-$(MINICOM_VER).tar.gz | $(TARGET_DIR) |
|
|
|
$(UNTAR)/minicom-$(MINICOM_VER).tar.gz |
|
|
|
cd $(BUILD_TMP)/minicom-$(MINICOM_VER) && \
|
|
|
|
$(PATCH)/minicom-fix-h-v-return-value-is-not-0.patch && \
|
|
|
@ -349,7 +349,7 @@ $(D)/minicom: $(D)/libncurses $(ARCHIVE)/minicom-$(MINICOM_VER).tar.gz | $(TARGE |
|
|
|
--target=$(TARGET) \
|
|
|
|
--disable-nls && \
|
|
|
|
$(MAKE) && \
|
|
|
|
install -m755 src/minicom $(TARGETPREFIX)/bin |
|
|
|
install -m755 src/minicom $(TARGET_DIR)/bin |
|
|
|
$(REMOVE)/minicom-$(MINICOM_VER) |
|
|
|
touch $@ |
|
|
|
|
|
|
@ -374,9 +374,9 @@ BUSYBOX_MAKE_OPTS = \ |
|
|
|
CROSS_COMPILE="$(TARGET)-" \
|
|
|
|
CFLAGS_EXTRA="$(TARGET_CFLAGS)" \
|
|
|
|
EXTRA_LDFLAGS="$(TARGET_LDFLAGS)" \
|
|
|
|
CONFIG_PREFIX="$(TARGETPREFIX)" |
|
|
|
CONFIG_PREFIX="$(TARGET_DIR)" |
|
|
|
|
|
|
|
$(D)/busybox: $(D)/libtirpc $(ARCHIVE)/busybox-$(BUSYBOX_VER).tar.bz2 | $(TARGETPREFIX) |
|
|
|
$(D)/busybox: $(D)/libtirpc $(ARCHIVE)/busybox-$(BUSYBOX_VER).tar.bz2 | $(TARGET_DIR) |
|
|
|
$(REMOVE)/busybox-$(BUSYBOX_VER) |
|
|
|
$(UNTAR)/busybox-$(BUSYBOX_VER).tar.bz2 |
|
|
|
pushd $(BUILD_TMP)/busybox-$(BUSYBOX_VER) && \
|
|
|
@ -390,7 +390,7 @@ $(D)/busybox: $(D)/libtirpc $(ARCHIVE)/busybox-$(BUSYBOX_VER).tar.bz2 | $(TARGET |
|
|
|
$(REMOVE)/busybox-$(BUSYBOX_VER) |
|
|
|
touch $@ |
|
|
|
|
|
|
|
$(D)/bash: $(ARCHIVE)/bash-$(BASH_VER).tar.gz | $(TARGETPREFIX) |
|
|
|
$(D)/bash: $(ARCHIVE)/bash-$(BASH_VER).tar.gz | $(TARGET_DIR) |
|
|
|
$(REMOVE)/bash-$(BASH_VER) |
|
|
|
$(UNTAR)/bash-$(BASH_VER).tar.gz |
|
|
|
cd $(BUILD_TMP)/bash-$(BASH_VER); \
|
|
|
@ -399,11 +399,11 @@ $(D)/bash: $(ARCHIVE)/bash-$(BASH_VER).tar.gz | $(TARGETPREFIX) |
|
|
|
done; \
|
|
|
|
$(CONFIGURE) && \
|
|
|
|
$(MAKE) && \
|
|
|
|
install -m 755 bash $(TARGETPREFIX)/bin |
|
|
|
install -m 755 bash $(TARGET_DIR)/bin |
|
|
|
$(REMOVE)/bash-$(BASH_VER) |
|
|
|
touch $@ |
|
|
|
|
|
|
|
$(D)/e2fsprogs: $(ARCHIVE)/e2fsprogs-$(E2FSPROGS_VER).tar.gz | $(TARGETPREFIX) |
|
|
|
$(D)/e2fsprogs: $(ARCHIVE)/e2fsprogs-$(E2FSPROGS_VER).tar.gz | $(TARGET_DIR) |
|
|
|
$(UNTAR)/e2fsprogs-$(E2FSPROGS_VER).tar.gz |
|
|
|
cd $(BUILD_TMP)/e2fsprogs-$(E2FSPROGS_VER) && \
|
|
|
|
autoreconf -fi && \
|
|
|
@ -427,16 +427,16 @@ $(D)/e2fsprogs: $(ARCHIVE)/e2fsprogs-$(E2FSPROGS_VER).tar.gz | $(TARGETPREFIX) |
|
|
|
--enable-symlink-build \
|
|
|
|
--with-gnu-ld && \
|
|
|
|
$(MAKE) && \
|
|
|
|
$(MAKE) install DESTDIR=$(TARGETPREFIX) && \
|
|
|
|
$(MAKE) install DESTDIR=$(TARGET_DIR) && \
|
|
|
|
cd lib/uuid/ && \
|
|
|
|
$(MAKE) install DESTDIR=$(TARGETPREFIX) |
|
|
|
$(MAKE) install DESTDIR=$(TARGET_DIR) |
|
|
|
$(REWRITE_PKGCONF) $(PKG_CONFIG_PATH)/uuid.pc |
|
|
|
$(REMOVE)/e2fsprogs-$(E2FSPROGS_VER) |
|
|
|
cd $(TARGETPREFIX) && rm sbin/dumpe2fs sbin/logsave sbin/e2undo \
|
|
|
|
cd $(TARGET_DIR) && rm sbin/dumpe2fs sbin/logsave sbin/e2undo \
|
|
|
|
sbin/filefrag sbin/e2freefrag bin/chattr bin/lsattr bin/uuidgen |
|
|
|
touch $@ |
|
|
|
|
|
|
|
$(D)/ntfs-3g: $(ARCHIVE)/ntfs-3g_ntfsprogs-$(NTFS3G_VER).tgz | $(TARGETPREFIX) |
|
|
|
$(D)/ntfs-3g: $(ARCHIVE)/ntfs-3g_ntfsprogs-$(NTFS3G_VER).tgz | $(TARGET_DIR) |
|
|
|
$(UNTAR)/ntfs-3g_ntfsprogs-$(NTFS3G_VER).tgz |
|
|
|
cd $(BUILD_TMP)/ntfs-3g_ntfsprogs-$(NTFS3G_VER) && \
|
|
|
|
$(CONFIGURE) \
|
|
|
@ -448,13 +448,13 @@ $(D)/ntfs-3g: $(ARCHIVE)/ntfs-3g_ntfsprogs-$(NTFS3G_VER).tgz | $(TARGETPREFIX) |
|
|
|
--disable-library \
|
|
|
|
&& \
|
|
|
|
$(MAKE) && \
|
|
|
|
install -m 755 $(BUILD_TMP)/ntfs-3g_ntfsprogs-$(NTFS3G_VER)/src/ntfs-3g $(TARGETPREFIX)/sbin/ntfs-3g |
|
|
|
install -m 755 $(BUILD_TMP)/ntfs-3g_ntfsprogs-$(NTFS3G_VER)/src/ntfs-3g $(TARGET_DIR)/sbin/ntfs-3g |
|
|
|
$(REMOVE)/ntfs-3g_ntfsprogs-$(NTFS3G_VER) |
|
|
|
touch $@ |
|
|
|
|
|
|
|
# the 'autofs-use-pkg-config' patch for libtirpc link should hopefully be added upstream soon
|
|
|
|
# see: https://patchwork.ozlabs.org/patch/782714/
|
|
|
|
$(D)/autofs5: $(D)/libtirpc $(ARCHIVE)/autofs-$(AUTOFS5_VER).tar.gz | $(TARGETPREFIX) |
|
|
|
$(D)/autofs5: $(D)/libtirpc $(ARCHIVE)/autofs-$(AUTOFS5_VER).tar.gz | $(TARGET_DIR) |
|
|
|
$(REMOVE)/autofs-$(AUTOFS5_VER) |
|
|
|
$(UNTAR)/autofs-$(AUTOFS5_VER).tar.gz |
|
|
|
cd $(BUILD_TMP)/autofs-$(AUTOFS5_VER) && \
|
|
|
@ -482,16 +482,16 @@ $(D)/autofs5: $(D)/libtirpc $(ARCHIVE)/autofs-$(AUTOFS5_VER).tar.gz | $(TARGETPR |
|
|
|
&& \
|
|
|
|
sed -i "s|nfs/nfs.h|linux/nfs.h|" include/rpc_subs.h && \
|
|
|
|
$(MAKE) SUBDIRS="lib daemon modules" DONTSTRIP=1 && \
|
|
|
|
$(MAKE) SUBDIRS="lib daemon modules" install DESTDIR=$(TARGETPREFIX) |
|
|
|
cp -a $(IMAGEFILES)/autofs/* $(TARGETPREFIX)/ |
|
|
|
ln -sf autofs $(TARGETPREFIX)/etc/init.d/S60autofs |
|
|
|
ln -sf autofs $(TARGETPREFIX)/etc/init.d/K40autofs |
|
|
|
$(MAKE) SUBDIRS="lib daemon modules" install DESTDIR=$(TARGET_DIR) |
|
|
|
cp -a $(IMAGEFILES)/autofs/* $(TARGET_DIR)/ |
|
|
|
ln -sf autofs $(TARGET_DIR)/etc/init.d/S60autofs |
|
|
|
ln -sf autofs $(TARGET_DIR)/etc/init.d/K40autofs |
|
|
|
$(REMOVE)/autofs-$(AUTOFS5_VER) |
|
|
|
touch $@ |
|
|
|
|
|
|
|
samba: samba-$(BOXSERIES) |
|
|
|
|
|
|
|
$(D)/samba-hd1: $(D)/zlib $(ARCHIVE)/samba-$(SAMBA33_VER).tar.gz | $(TARGETPREFIX) |
|
|
|
$(D)/samba-hd1: $(D)/zlib $(ARCHIVE)/samba-$(SAMBA33_VER).tar.gz | $(TARGET_DIR) |
|
|
|
$(UNTAR)/samba-$(SAMBA33_VER).tar.gz |
|
|
|
cd $(BUILD_TMP)/samba-$(SAMBA33_VER) && \
|
|
|
|
$(PATCH)/samba33-build-only-what-we-need.patch && \
|
|
|
@ -535,22 +535,22 @@ $(D)/samba-hd1: $(D)/zlib $(ARCHIVE)/samba-$(SAMBA33_VER).tar.gz | $(TARGETPREFI |
|
|
|
--disable-relro \
|
|
|
|
--disable-swat && \
|
|
|
|
$(MAKE) all && \
|
|
|
|
$(MAKE) install DESTDIR=$(TARGETPREFIX) |
|
|
|
mkdir -p $(TARGETPREFIX)/var/samba/locks |
|
|
|
install $(IMAGEFILES)/scripts/smb3.conf $(TARGETPREFIX)/etc/samba/smb.conf |
|
|
|
install -m 755 $(IMAGEFILES)/scripts/samba3.init $(TARGETPREFIX)/etc/init.d/samba |
|
|
|
ln -sf samba $(TARGETPREFIX)/etc/init.d/S99samba |
|
|
|
ln -sf samba $(TARGETPREFIX)/etc/init.d/K01samba |
|
|
|
rm -rf $(TARGETPREFIX)/bin/testparm |
|
|
|
rm -rf $(TARGETPREFIX)/bin/findsmb |
|
|
|
rm -rf $(TARGETPREFIX)/bin/smbtar |
|
|
|
rm -rf $(TARGETPREFIX)/bin/smbclient |
|
|
|
rm -rf $(TARGETPREFIX)/bin/smbpasswd |
|
|
|
$(MAKE) install DESTDIR=$(TARGET_DIR) |
|
|
|
mkdir -p $(TARGET_DIR)/var/samba/locks |
|
|
|
install $(IMAGEFILES)/scripts/smb3.conf $(TARGET_DIR)/etc/samba/smb.conf |
|
|
|
install -m 755 $(IMAGEFILES)/scripts/samba3.init $(TARGET_DIR)/etc/init.d/samba |
|
|
|
ln -sf samba $(TARGET_DIR)/etc/init.d/S99samba |
|
|
|
ln -sf samba $(TARGET_DIR)/etc/init.d/K01samba |
|
|
|
rm -rf $(TARGET_DIR)/bin/testparm |
|
|
|
rm -rf $(TARGET_DIR)/bin/findsmb |
|
|
|
rm -rf $(TARGET_DIR)/bin/smbtar |
|
|
|
rm -rf $(TARGET_DIR)/bin/smbclient |
|
|
|
rm -rf $(TARGET_DIR)/bin/smbpasswd |
|
|
|
$(REMOVE)/samba-$(SAMBA33_VER) |
|
|
|
touch $@ |
|
|
|
|
|
|
|
$(D)/samba-hd51 \ |
|
|
|
$(D)/samba-hd2: $(D)/zlib $(ARCHIVE)/samba-$(SAMBA36_VER).tar.gz | $(TARGETPREFIX) |
|
|
|
$(D)/samba-hd2: $(D)/zlib $(ARCHIVE)/samba-$(SAMBA36_VER).tar.gz | $(TARGET_DIR) |
|
|
|
$(UNTAR)/samba-$(SAMBA36_VER).tar.gz |
|
|
|
cd $(BUILD_TMP)/samba-$(SAMBA36_VER) && \
|
|
|
|
$(PATCH)/samba36-build-only-what-we-need.patch && \
|
|
|
@ -600,21 +600,21 @@ $(D)/samba-hd2: $(D)/zlib $(ARCHIVE)/samba-$(SAMBA36_VER).tar.gz | $(TARGETPREFI |
|
|
|
--disable-relro \
|
|
|
|
--disable-swat && \
|
|
|
|
$(MAKE) all && \
|
|
|
|
$(MAKE) install DESTDIR=$(TARGETPREFIX) |
|
|
|
mkdir -p $(TARGETPREFIX)/var/samba/locks |
|
|
|
install $(IMAGEFILES)/scripts/smb3.conf $(TARGETPREFIX)/etc/samba/smb.conf |
|
|
|
install -m 755 $(IMAGEFILES)/scripts/samba3.init $(TARGETPREFIX)/etc/init.d/samba |
|
|
|
ln -sf samba $(TARGETPREFIX)/etc/init.d/S99samba |
|
|
|
ln -sf samba $(TARGETPREFIX)/etc/init.d/K01samba |
|
|
|
rm -rf $(TARGETPREFIX)/bin/testparm |
|
|
|
rm -rf $(TARGETPREFIX)/bin/findsmb |
|
|
|
rm -rf $(TARGETPREFIX)/bin/smbtar |
|
|
|
rm -rf $(TARGETPREFIX)/bin/smbclient |
|
|
|
rm -rf $(TARGETPREFIX)/bin/smbpasswd |
|
|
|
$(MAKE) install DESTDIR=$(TARGET_DIR) |
|
|
|
mkdir -p $(TARGET_DIR)/var/samba/locks |
|
|
|
install $(IMAGEFILES)/scripts/smb3.conf $(TARGET_DIR)/etc/samba/smb.conf |
|
|
|
install -m 755 $(IMAGEFILES)/scripts/samba3.init $(TARGET_DIR)/etc/init.d/samba |
|
|
|
ln -sf samba $(TARGET_DIR)/etc/init.d/S99samba |
|
|
|
ln -sf samba $(TARGET_DIR)/etc/init.d/K01samba |
|
|
|
rm -rf $(TARGET_DIR)/bin/testparm |
|
|
|
rm -rf $(TARGET_DIR)/bin/findsmb |
|
|
|
rm -rf $(TARGET_DIR)/bin/smbtar |
|
|
|
rm -rf $(TARGET_DIR)/bin/smbclient |
|
|
|
rm -rf $(TARGET_DIR)/bin/smbpasswd |
|
|
|
$(REMOVE)/samba-$(SAMBA36_VER) |
|
|
|
touch $@ |
|
|
|
|
|
|
|
$(D)/dropbear: $(D)/zlib $(ARCHIVE)/dropbear-$(DROPBEAR_VER).tar.bz2 | $(TARGETPREFIX) |
|
|
|
$(D)/dropbear: $(D)/zlib $(ARCHIVE)/dropbear-$(DROPBEAR_VER).tar.bz2 | $(TARGET_DIR) |
|
|
|
$(UNTAR)/dropbear-$(DROPBEAR_VER).tar.bz2 |
|
|
|
cd $(BUILD_TMP)/dropbear-$(DROPBEAR_VER) && \
|
|
|
|
$(PATCH)/dropbear-fix-paths.patch && \
|
|
|
@ -630,30 +630,30 @@ $(D)/dropbear: $(D)/zlib $(ARCHIVE)/dropbear-$(DROPBEAR_VER).tar.bz2 | $(TARGETP |
|
|
|
sed -i 's:.*\(#define NO_FAST_EXPTMOD\).*:\1:' options.h && \
|
|
|
|
sed -i 's:^#define DROPBEAR_SMALL_CODE::' options.h && \
|
|
|
|
$(MAKE) PROGRAMS="dropbear dbclient dropbearkey scp" SCPPROGRESS=1 && \
|
|
|
|
$(MAKE) PROGRAMS="dropbear dbclient dropbearkey scp" install DESTDIR=$(TARGETPREFIX) |
|
|
|
install -D -m 0755 $(IMAGEFILES)/scripts/dropbear.init $(TARGETPREFIX)/etc/init.d/dropbear |
|
|
|
install -d -m 0755 $(TARGETPREFIX)/etc/dropbear |
|
|
|
ln -sf dropbear $(TARGETPREFIX)/etc/init.d/S60dropbear |
|
|
|
ln -sf dropbear $(TARGETPREFIX)/etc/init.d/K60dropbear |
|
|
|
$(MAKE) PROGRAMS="dropbear dbclient dropbearkey scp" install DESTDIR=$(TARGET_DIR) |
|
|
|
install -D -m 0755 $(IMAGEFILES)/scripts/dropbear.init $(TARGET_DIR)/etc/init.d/dropbear |
|
|
|
install -d -m 0755 $(TARGET_DIR)/etc/dropbear |
|
|
|
ln -sf dropbear $(TARGET_DIR)/etc/init.d/S60dropbear |
|
|
|
ln -sf dropbear $(TARGET_DIR)/etc/init.d/K60dropbear |
|
|
|
$(REMOVE)/dropbear-$(DROPBEAR_VER) |
|
|
|
touch $@ |
|
|
|
|
|
|
|
$(D)/sg3-utils: $(ARCHIVE)/sg3_utils-$(SG3-UTILS_VER).tar.xz | $(TARGETPREFIX) |
|
|
|
$(D)/sg3-utils: $(ARCHIVE)/sg3_utils-$(SG3-UTILS_VER).tar.xz | $(TARGET_DIR) |
|
|
|
$(UNTAR)/sg3_utils-$(SG3-UTILS_VER).tar.xz |
|
|
|
cd $(BUILD_TMP)/sg3_utils-$(SG3-UTILS_VER) && \
|
|
|
|
$(CONFIGURE) \
|
|
|
|
--prefix= \
|
|
|
|
--mandir=/.remove && \
|
|
|
|
$(MAKE) && \
|
|
|
|
cp -a src/.libs/sg_start $(TARGETPREFIX)/bin && \
|
|
|
|
cp -a src/.libs/sg_start $(TARGET_DIR)/bin && \
|
|
|
|
cp -a lib/.libs/libsgutils2.so.2.0.0 $(TARGETLIB) && \
|
|
|
|
cp -a lib/.libs/libsgutils2.so.2 $(TARGETLIB) && \
|
|
|
|
cp -a lib/.libs/libsgutils2.so $(TARGETLIB) |
|
|
|
$(REMOVE)/sg3_utils-$(SG3-UTILS_VER) |
|
|
|
touch $@ |
|
|
|
|
|
|
|
fbshot: $(TARGETPREFIX)/bin/fbshot |
|
|
|
$(TARGETPREFIX)/bin/fbshot: $(D)/libpng $(ARCHIVE)/fbshot-$(FBSHOT_VER).tar.gz | $(TARGETPREFIX) |
|
|
|
fbshot: $(TARGET_DIR)/bin/fbshot |
|
|
|
$(TARGET_DIR)/bin/fbshot: $(D)/libpng $(ARCHIVE)/fbshot-$(FBSHOT_VER).tar.gz | $(TARGET_DIR) |
|
|
|
$(REMOVE)/fbshot-$(FBSHOT_VER) |
|
|
|
$(UNTAR)/fbshot-$(FBSHOT_VER).tar.gz |
|
|
|
cd $(BUILD_TMP)/fbshot-$(FBSHOT_VER); \
|
|
|
@ -662,7 +662,7 @@ $(TARGETPREFIX)/bin/fbshot: $(D)/libpng $(ARCHIVE)/fbshot-$(FBSHOT_VER).tar.gz | |
|
|
|
$(TARGET)-gcc $(TARGET_CFLAGS) $(TARGET_LDFLAGS) fbshot.c -lpng -lz -o $@ |
|
|
|
$(REMOVE)/fbshot-$(FBSHOT_VER) |
|
|
|
|
|
|
|
$(D)/lcd4linux: $(D)/libncurses $(D)/libgd2 $(D)/libdpf | $(TARGETPREFIX) |
|
|
|
$(D)/lcd4linux: $(D)/libncurses $(D)/libgd2 $(D)/libdpf | $(TARGET_DIR) |
|
|
|
$(REMOVE)/lcd4linux |
|
|
|
git clone https://github.com/TangoCash/lcd4linux.git $(BUILD_TMP)/lcd4linux |
|
|
|
cd $(BUILD_TMP)/lcd4linux && \
|
|
|
@ -670,7 +670,7 @@ $(D)/lcd4linux: $(D)/libncurses $(D)/libgd2 $(D)/libdpf | $(TARGETPREFIX) |
|
|
|
$(CONFIGURE) \
|
|
|
|
--libdir=$(TARGETLIB) \
|
|
|
|
--includedir=$(TARGETINCLUDE) \
|
|
|
|
--bindir=$(TARGETPREFIX)/bin \
|
|
|
|
--bindir=$(TARGET_DIR)/bin \
|
|
|
|
--prefix= \
|
|
|
|
--mandir=/.remove \
|
|
|
|
--docdir=/.remove \
|
|
|
@ -684,19 +684,19 @@ $(D)/lcd4linux: $(D)/libncurses $(D)/libgd2 $(D)/libdpf | $(TARGETPREFIX) |
|
|
|
$(REMOVE)/lcd4linux |
|
|
|
touch $@ |
|
|
|
|
|
|
|
$(D)/wpa_supplicant: $(D)/openssl $(ARCHIVE)/wpa_supplicant-$(WPA_SUPP_VER).tar.gz | $(TARGETPREFIX) |
|
|
|
$(D)/wpa_supplicant: $(D)/openssl $(ARCHIVE)/wpa_supplicant-$(WPA_SUPP_VER).tar.gz | $(TARGET_DIR) |
|
|
|
$(UNTAR)/wpa_supplicant-$(WPA_SUPP_VER).tar.gz |
|
|
|
pushd $(BUILD_TMP)/wpa_supplicant-$(WPA_SUPP_VER)/wpa_supplicant && \
|
|
|
|
cp $(CONFIGS)/wpa_supplicant.config .config && \
|
|
|
|
CC=$(TARGET)-gcc CFLAGS="$(TARGET_CFLAGS)" CXXFLAGS="$(TARGET_CXXFLAGS)" LDFLAGS="$(TARGET_LDFLAGS)" \
|
|
|
|
$(MAKE) |
|
|
|
cp -f $(BUILD_TMP)/wpa_supplicant-$(WPA_SUPP_VER)/wpa_supplicant/wpa_cli $(TARGETPREFIX)/sbin/wpa_cli |
|
|
|
cp -f $(BUILD_TMP)/wpa_supplicant-$(WPA_SUPP_VER)/wpa_supplicant/wpa_passphrase $(TARGETPREFIX)/sbin/wpa_passphrase |
|
|
|
cp -f $(BUILD_TMP)/wpa_supplicant-$(WPA_SUPP_VER)/wpa_supplicant/wpa_supplicant $(TARGETPREFIX)/sbin/wpa_supplicant |
|
|
|
cp -f $(BUILD_TMP)/wpa_supplicant-$(WPA_SUPP_VER)/wpa_supplicant/wpa_cli $(TARGET_DIR)/sbin/wpa_cli |
|
|
|
cp -f $(BUILD_TMP)/wpa_supplicant-$(WPA_SUPP_VER)/wpa_supplicant/wpa_passphrase $(TARGET_DIR)/sbin/wpa_passphrase |
|
|
|
cp -f $(BUILD_TMP)/wpa_supplicant-$(WPA_SUPP_VER)/wpa_supplicant/wpa_supplicant $(TARGET_DIR)/sbin/wpa_supplicant |
|
|
|
$(REMOVE)/wpa_supplicant-$(WPA_SUPP_VER) |
|
|
|
touch $@ |
|
|
|
|
|
|
|
$(D)/xupnpd: $(D)/lua $(D)/openssl | $(TARGETPREFIX) |
|
|
|
$(D)/xupnpd: $(D)/lua $(D)/openssl | $(TARGET_DIR) |
|
|
|
$(REMOVE)/xupnpd |
|
|
|
git clone https://github.com/clark15b/xupnpd.git $(BUILD_TMP)/xupnpd |
|
|
|
pushd $(BUILD_TMP)/xupnpd && \
|
|
|
@ -709,26 +709,26 @@ $(D)/xupnpd: $(D)/lua $(D)/openssl | $(TARGETPREFIX) |
|
|
|
$(BUILDENV) \
|
|
|
|
$(MAKE) embedded TARGET=$(TARGET) CC=$(TARGET)-gcc STRIP=$(TARGET)-strip LUAFLAGS="$(TARGET_LDFLAGS) -I$(TARGETINCLUDE)" && \
|
|
|
|
install -D -m 0755 xupnpd $(BIN)/ && \
|
|
|
|
mkdir -p $(TARGETPREFIX)/share/xupnpd/config && \
|
|
|
|
mkdir -p $(TARGET_DIR)/share/xupnpd/config && \
|
|
|
|
for object in *.lua plugins/ profiles/ ui/ www/; do \
|
|
|
|
cp -a $$object $(TARGETPREFIX)/share/xupnpd/; \
|
|
|
|
cp -a $$object $(TARGET_DIR)/share/xupnpd/; \
|
|
|
|
done; |
|
|
|
rm $(TARGETPREFIX)/share/xupnpd/plugins/staff/xupnpd_18plus.lua |
|
|
|
install -D -m 644 $(SOURCE_DIR)/$(NI_NEUTRINO-PLUGINS)/scripts-lua/xupnpd/xupnpd_18plus.lua $(TARGETPREFIX)/share/xupnpd/plugins/ |
|
|
|
install -D -m 644 $(SOURCE_DIR)/$(NI_NEUTRINO-PLUGINS)/scripts-lua/xupnpd/xupnpd_youtube.lua $(TARGETPREFIX)/share/xupnpd/plugins/ |
|
|
|
install -D -m 644 $(SOURCE_DIR)/$(NI_NEUTRINO-PLUGINS)/scripts-lua/xupnpd/xupnpd_coolstream.lua $(TARGETPREFIX)/share/xupnpd/plugins/ |
|
|
|
install -D -m 644 $(SOURCE_DIR)/$(NI_NEUTRINO-PLUGINS)/scripts-lua/xupnpd/xupnpd_cczwei.lua $(TARGETPREFIX)/share/xupnpd/plugins/ |
|
|
|
mkdir -p $(TARGETPREFIX)/etc/init.d/ |
|
|
|
install -D -m 0755 $(IMAGEFILES)/scripts/xupnpd.init $(TARGETPREFIX)/etc/init.d/xupnpd |
|
|
|
ln -sf xupnpd $(TARGETPREFIX)/etc/init.d/S99xupnpd |
|
|
|
ln -sf xupnpd $(TARGETPREFIX)/etc/init.d/K01xupnpd |
|
|
|
cp -a $(IMAGEFILES)/xupnpd/* $(TARGETPREFIX)/ |
|
|
|
rm $(TARGET_DIR)/share/xupnpd/plugins/staff/xupnpd_18plus.lua |
|
|
|
install -D -m 644 $(SOURCE_DIR)/$(NI_NEUTRINO-PLUGINS)/scripts-lua/xupnpd/xupnpd_18plus.lua $(TARGET_DIR)/share/xupnpd/plugins/ |
|
|
|
install -D -m 644 $(SOURCE_DIR)/$(NI_NEUTRINO-PLUGINS)/scripts-lua/xupnpd/xupnpd_youtube.lua $(TARGET_DIR)/share/xupnpd/plugins/ |
|
|
|
install -D -m 644 $(SOURCE_DIR)/$(NI_NEUTRINO-PLUGINS)/scripts-lua/xupnpd/xupnpd_coolstream.lua $(TARGET_DIR)/share/xupnpd/plugins/ |
|
|
|
install -D -m 644 $(SOURCE_DIR)/$(NI_NEUTRINO-PLUGINS)/scripts-lua/xupnpd/xupnpd_cczwei.lua $(TARGET_DIR)/share/xupnpd/plugins/ |
|
|
|
mkdir -p $(TARGET_DIR)/etc/init.d/ |
|
|
|
install -D -m 0755 $(IMAGEFILES)/scripts/xupnpd.init $(TARGET_DIR)/etc/init.d/xupnpd |
|
|
|
ln -sf xupnpd $(TARGET_DIR)/etc/init.d/S99xupnpd |
|
|
|
ln -sf xupnpd $(TARGET_DIR)/etc/init.d/K01xupnpd |
|
|
|
cp -a $(IMAGEFILES)/xupnpd/* $(TARGET_DIR)/ |
|
|
|
$(REMOVE)/xupnpd |
|
|
|
touch $@ |
|
|
|
|
|
|
|
DOSFSTOOLS_CFLAGS = $(TARGET_CFLAGS) -D_GNU_SOURCE -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 |
|
|
|
|
|
|
|
$(D)/dosfstools: $(DOSFSTOOLS_DEPS) $(ARCHIVE)/dosfstools-$(DOSFSTOOLS_VER).tar.xz | $(TARGETPREFIX) |
|
|
|
$(D)/dosfstools: $(DOSFSTOOLS_DEPS) $(ARCHIVE)/dosfstools-$(DOSFSTOOLS_VER).tar.xz | $(TARGET_DIR) |
|
|
|
$(REMOVE)/dosfstools-$(DOSFSTOOLS_VER) |
|
|
|
$(UNTAR)/dosfstools-$(DOSFSTOOLS_VER).tar.xz |
|
|
|
set -e; cd $(BUILD_TMP)/dosfstools-$(DOSFSTOOLS_VER); \
|
|
|
@ -742,7 +742,7 @@ $(D)/dosfstools: $(DOSFSTOOLS_DEPS) $(ARCHIVE)/dosfstools-$(DOSFSTOOLS_VER).tar. |
|
|
|
CFLAGS="$(DOSFSTOOLS_CFLAGS)" \
|
|
|
|
; \
|
|
|
|
$(MAKE); \
|
|
|
|
$(MAKE) install DESTDIR=$(TARGETPREFIX) |
|
|
|
$(MAKE) install DESTDIR=$(TARGET_DIR) |
|
|
|
$(REMOVE)/dosfstools-$(DOSFSTOOLS_VER) |
|
|
|
touch $@ |
|
|
|
|
|
|
@ -751,7 +751,7 @@ ifeq ($(BOXSERIES), hd1) |
|
|
|
NFS-UTILS_IPV6=--disable-ipv6 |
|
|
|
endif |
|
|
|
|
|
|
|
$(D)/nfs-utils: $(D)/rpcbind $(ARCHIVE)/nfs-utils-$(NFS-UTILS_VER).tar.bz2 | $(TARGETPREFIX) |
|
|
|
$(D)/nfs-utils: $(D)/rpcbind $(ARCHIVE)/nfs-utils-$(NFS-UTILS_VER).tar.bz2 | $(TARGET_DIR) |
|
|
|
$(UNTAR)/nfs-utils-$(NFS-UTILS_VER).tar.bz2 |
|
|
|
pushd $(BUILD_TMP)/nfs-utils-$(NFS-UTILS_VER) && \
|
|
|
|
$(PATCH)/nfs-utils_01-Patch-taken-from-Gentoo.patch && \
|
|
|
@ -778,23 +778,23 @@ $(D)/nfs-utils: $(D)/rpcbind $(ARCHIVE)/nfs-utils-$(NFS-UTILS_VER).tar.bz2 | $(T |
|
|
|
--without-systemd \
|
|
|
|
; \
|
|
|
|
$(MAKE) && \
|
|
|
|
$(MAKE) install DESTDIR=$(TARGETPREFIX) |
|
|
|
chmod 755 $(TARGETPREFIX)/sbin/mount.nfs |
|
|
|
rm -rf $(TARGETPREFIX)/sbin/mountstats |
|
|
|
rm -rf $(TARGETPREFIX)/sbin/nfsiostat |
|
|
|
rm -rf $(TARGETPREFIX)/sbin/osd_login |
|
|
|
rm -rf $(TARGETPREFIX)/sbin/start-statd |
|
|
|
rm -rf $(TARGETPREFIX)/sbin/mount.nfs* |
|
|
|
rm -rf $(TARGETPREFIX)/sbin/umount.nfs* |
|
|
|
rm -rf $(TARGETPREFIX)/sbin/showmount |
|
|
|
rm -rf $(TARGETPREFIX)/sbin/rpcdebug |
|
|
|
install -m 755 -D $(IMAGEFILES)/scripts/nfsd.init $(TARGETPREFIX)/etc/init.d/nfsd |
|
|
|
ln -s nfsd $(TARGETPREFIX)/etc/init.d/S60nfsd |
|
|
|
ln -s nfsd $(TARGETPREFIX)/etc/init.d/K01nfsd |
|
|
|
$(MAKE) install DESTDIR=$(TARGET_DIR) |
|
|
|
chmod 755 $(TARGET_DIR)/sbin/mount.nfs |
|
|
|
rm -rf $(TARGET_DIR)/sbin/mountstats |
|
|
|
rm -rf $(TARGET_DIR)/sbin/nfsiostat |
|
|
|
rm -rf $(TARGET_DIR)/sbin/osd_login |
|
|
|
rm -rf $(TARGET_DIR)/sbin/start-statd |
|
|
|
rm -rf $(TARGET_DIR)/sbin/mount.nfs* |
|
|
|
rm -rf $(TARGET_DIR)/sbin/umount.nfs* |
|
|
|
rm -rf $(TARGET_DIR)/sbin/showmount |
|
|
|
rm -rf $(TARGET_DIR)/sbin/rpcdebug |
|
|
|
install -m 755 -D $(IMAGEFILES)/scripts/nfsd.init $(TARGET_DIR)/etc/init.d/nfsd |
|
|
|
ln -s nfsd $(TARGET_DIR)/etc/init.d/S60nfsd |
|
|
|
ln -s nfsd $(TARGET_DIR)/etc/init.d/K01nfsd |
|
|
|
$(REMOVE)/nfs-utils-$(NFS-UTILS_VER) |
|
|
|
touch $@ |
|
|
|
|
|
|
|
$(D)/rpcbind: $(D)/libtirpc $(ARCHIVE)/rpcbind-$(RPCBIND_VER).tar.bz2 | $(TARGETPREFIX) |
|
|
|
$(D)/rpcbind: $(D)/libtirpc $(ARCHIVE)/rpcbind-$(RPCBIND_VER).tar.bz2 | $(TARGET_DIR) |
|
|
|
$(UNTAR)/rpcbind-$(RPCBIND_VER).tar.bz2 |
|
|
|
cd $(BUILD_TMP)/rpcbind-$(RPCBIND_VER) && \
|
|
|
|
$(PATCH)/rpcbind-0001-Remove-yellow-pages-support.patch && \
|
|
|
@ -807,15 +807,15 @@ $(D)/rpcbind: $(D)/libtirpc $(ARCHIVE)/rpcbind-$(RPCBIND_VER).tar.bz2 | $(TARGET |
|
|
|
--with-systemdsystemunitdir=no \
|
|
|
|
--mandir=/.remove && \
|
|
|
|
$(MAKE) && \
|
|
|
|
$(MAKE) install DESTDIR=$(TARGETPREFIX) |
|
|
|
$(MAKE) install DESTDIR=$(TARGET_DIR) |
|
|
|
ifeq ($(BOXSERIES), hd1) |
|
|
|
sed -i -e '/^\(udp\|tcp\)6/ d' $(TARGETPREFIX)/etc/netconfig |
|
|
|
sed -i -e '/^\(udp\|tcp\)6/ d' $(TARGET_DIR)/etc/netconfig |
|
|
|
endif |
|
|
|
rm -rf $(TARGETPREFIX)/bin/rpcgen |
|
|
|
rm -rf $(TARGET_DIR)/bin/rpcgen |
|
|
|
$(REMOVE)/rpcbind-$(RPCBIND_VER) |
|
|
|
touch $@ |
|
|
|
|
|
|
|
$(D)/fuse-exfat: $(ARCHIVE)/fuse-exfat-$(FUSE_EXFAT_VER).tar.gz $(D)/libfuse | $(TARGETPREFIX) |
|
|
|
$(D)/fuse-exfat: $(ARCHIVE)/fuse-exfat-$(FUSE_EXFAT_VER).tar.gz $(D)/libfuse | $(TARGET_DIR) |
|
|
|
$(REMOVE)/fuse-exfat-$(FUSE_EXFAT_VER) |
|
|
|
$(UNTAR)/fuse-exfat-$(FUSE_EXFAT_VER).tar.gz |
|
|
|
pushd $(BUILD_TMP)/fuse-exfat-$(FUSE_EXFAT_VER); \
|
|
|
@ -826,11 +826,11 @@ $(D)/fuse-exfat: $(ARCHIVE)/fuse-exfat-$(FUSE_EXFAT_VER).tar.gz $(D)/libfuse | $ |
|
|
|
--mandir=/.remove \
|
|
|
|
; \
|
|
|
|
$(MAKE); \
|
|
|
|
$(MAKE) install DESTDIR=$(TARGETPREFIX) |
|
|
|
$(MAKE) install DESTDIR=$(TARGET_DIR) |
|
|
|
$(REMOVE)/fuse-exfat-$(FUSE_EXFAT_VER) |
|
|
|
touch $@ |
|
|
|
|
|
|
|
$(D)/exfat-utils: $(ARCHIVE)/exfat-utils-$(EXFAT_UTILS_VER).tar.gz $(D)/fuse-exfat | $(TARGETPREFIX) |
|
|
|
$(D)/exfat-utils: $(ARCHIVE)/exfat-utils-$(EXFAT_UTILS_VER).tar.gz $(D)/fuse-exfat | $(TARGET_DIR) |
|
|
|
$(REMOVE)/exfat-utils-$(EXFAT_UTILS_VER) |
|
|
|
$(UNTAR)/exfat-utils-$(EXFAT_UTILS_VER).tar.gz |
|
|
|
pushd $(BUILD_TMP)/exfat-utils-$(EXFAT_UTILS_VER); \
|
|
|
@ -841,29 +841,29 @@ $(D)/exfat-utils: $(ARCHIVE)/exfat-utils-$(EXFAT_UTILS_VER).tar.gz $(D)/fuse-exf |
|
|
|
--mandir=/.remove \
|
|
|
|
; \
|
|
|
|
$(MAKE); \
|
|
|
|
$(MAKE) install DESTDIR=$(TARGETPREFIX) |
|
|
|
$(MAKE) install DESTDIR=$(TARGET_DIR) |
|
|
|
$(REMOVE)/exfat-utils-$(EXFAT_UTILS_VER) |
|
|
|
touch $@ |
|
|
|
|
|
|
|
$(D)/streamripper: $(D)/libvorbisidec $(D)/libmad $(D)/libglib2 | $(TARGETPREFIX) |
|
|
|
$(D)/streamripper: $(D)/libvorbisidec $(D)/libmad $(D)/libglib2 | $(TARGET_DIR) |
|
|
|
$(REMOVE)/$(NI_STREAMRIPPER) |
|
|
|
tar -C $(SOURCE_DIR) -cp $(NI_STREAMRIPPER) --exclude-vcs | tar -C $(BUILD_TMP) -x |
|
|
|
pushd $(BUILD_TMP)/$(NI_STREAMRIPPER); \
|
|
|
|
autoreconf -fi; \
|
|
|
|
$(CONFIGURE) \
|
|
|
|
--prefix= \
|
|
|
|
--includedir=$(TARGETPREFIX)/include \
|
|
|
|
--includedir=$(TARGET_DIR)/include \
|
|
|
|
--datarootdir=/.remove \
|
|
|
|
--with-included-argv=yes \
|
|
|
|
--with-included-libmad=no \
|
|
|
|
; \
|
|
|
|
$(MAKE); \
|
|
|
|
$(MAKE) install DESTDIR=$(TARGETPREFIX) |
|
|
|
install -m755 $(IMAGEFILES)/scripts/streamripper.sh $(TARGETPREFIX)/bin/ |
|
|
|
$(MAKE) install DESTDIR=$(TARGET_DIR) |
|
|
|
install -m755 $(IMAGEFILES)/scripts/streamripper.sh $(TARGET_DIR)/bin/ |
|
|
|
$(REMOVE)/$(NI_STREAMRIPPER) |
|
|
|
touch $@ |
|
|
|
|
|
|
|
$(D)/gettext: $(ARCHIVE)/gettext-$(GETTEXT_VERSION).tar.xz | $(TARGETPREFIX) |
|
|
|
$(D)/gettext: $(ARCHIVE)/gettext-$(GETTEXT_VERSION).tar.xz | $(TARGET_DIR) |
|
|
|
$(UNTAR)/gettext-$(GETTEXT_VERSION).tar.xz |
|
|
|
pushd $(BUILD_TMP)/gettext-$(GETTEXT_VERSION)/gettext-runtime; \
|
|
|
|
autoreconf -fi; \
|
|
|
@ -880,16 +880,16 @@ $(D)/gettext: $(ARCHIVE)/gettext-$(GETTEXT_VERSION).tar.xz | $(TARGETPREFIX) |
|
|
|
--without-emacs \
|
|
|
|
; \
|
|
|
|
$(MAKE); \
|
|
|
|
$(MAKE) install DESTDIR=$(TARGETPREFIX) |
|
|
|
rm -rf $(TARGETPREFIX)/bin/envsubst |
|
|
|
rm -rf $(TARGETPREFIX)/bin/gettext |
|
|
|
rm -rf $(TARGETPREFIX)/bin/gettext.sh |
|
|
|
rm -rf $(TARGETPREFIX)/bin/ngettext |
|
|
|
$(MAKE) install DESTDIR=$(TARGET_DIR) |
|
|
|
rm -rf $(TARGET_DIR)/bin/envsubst |
|
|
|
rm -rf $(TARGET_DIR)/bin/gettext |
|
|
|
rm -rf $(TARGET_DIR)/bin/gettext.sh |
|
|
|
rm -rf $(TARGET_DIR)/bin/ngettext |
|
|
|
$(REWRITE_LIBTOOL)/libintl.la |
|
|
|
$(REMOVE)/gettext-$(GETTEXT_VERSION) |
|
|
|
touch $@ |
|
|
|
|
|
|
|
$(D)/mc: $(ARCHIVE)/mc-$(MC_VER).tar.xz $(D)/libglib2 $(D)/libncurses | $(TARGETPREFIX) |
|
|
|
$(D)/mc: $(ARCHIVE)/mc-$(MC_VER).tar.xz $(D)/libglib2 $(D)/libncurses | $(TARGET_DIR) |
|
|
|
$(REMOVE)/mc-$(MC_VER) |
|
|
|
$(UNTAR)/mc-$(MC_VER).tar.xz |
|
|
|
pushd $(BUILD_TMP)/mc-$(MC_VER); \
|
|
|
@ -911,13 +911,13 @@ $(D)/mc: $(ARCHIVE)/mc-$(MC_VER).tar.xz $(D)/libglib2 $(D)/libncurses | $(TARGET |
|
|
|
--without-x \
|
|
|
|
; \
|
|
|
|
$(MAKE) all; \
|
|
|
|
$(MAKE) install DESTDIR=$(TARGETPREFIX) |
|
|
|
rm -rf $(TARGETPREFIX)/share/mc/examples |
|
|
|
find $(TARGETPREFIX)/share/mc/skins -type f ! -name default.ini | xargs --no-run-if-empty rm |
|
|
|
$(MAKE) install DESTDIR=$(TARGET_DIR) |
|
|
|
rm -rf $(TARGET_DIR)/share/mc/examples |
|
|
|
find $(TARGET_DIR)/share/mc/skins -type f ! -name default.ini | xargs --no-run-if-empty rm |
|
|
|
$(REMOVE)/mc-$(MC_VER) |
|
|
|
touch $@ |
|
|
|
|
|
|
|
$(D)/wget: $(D)/openssl $(ARCHIVE)/wget-$(WGET_VER).tar.gz | $(TARGETPREFIX) |
|
|
|
$(D)/wget: $(D)/openssl $(ARCHIVE)/wget-$(WGET_VER).tar.gz | $(TARGET_DIR) |
|
|
|
$(REMOVE)/wget-$(WGET_VER) |
|
|
|
$(UNTAR)/wget-$(WGET_VER).tar.gz |
|
|
|
cd $(BUILD_TMP)/wget-$(WGET_VER) && \
|
|
|
@ -936,13 +936,13 @@ $(D)/wget: $(D)/openssl $(ARCHIVE)/wget-$(WGET_VER).tar.gz | $(TARGETPREFIX) |
|
|
|
--disable-debug \
|
|
|
|
&& \
|
|
|
|
$(MAKE) && \
|
|
|
|
$(MAKE) install DESTDIR=$(TARGETPREFIX) |
|
|
|
$(MAKE) install DESTDIR=$(TARGET_DIR) |
|
|
|
$(REMOVE)/wget-$(WGET_VER) |
|
|
|
touch $@ |
|
|
|
|
|
|
|
# builds only stripped down iconv binary
|
|
|
|
# used for smarthomeinfo plugin
|
|
|
|
$(D)/iconv: $(ARCHIVE)/libiconv-$(LIBICONV_VER).tar.gz | $(TARGETPREFIX) |
|
|
|
$(D)/iconv: $(ARCHIVE)/libiconv-$(LIBICONV_VER).tar.gz | $(TARGET_DIR) |
|
|
|
$(UNTAR)/libiconv-$(LIBICONV_VER).tar.gz |
|
|
|
pushd $(BUILD_TMP)/libiconv-$(LIBICONV_VER) && \
|
|
|
|
$(PATCH)/iconv-disable_transliterations.patch && \
|
|
|
@ -956,23 +956,23 @@ $(D)/iconv: $(ARCHIVE)/libiconv-$(LIBICONV_VER).tar.gz | $(TARGETPREFIX) |
|
|
|
--datarootdir=/.remove && \
|
|
|
|
$(MAKE) && \
|
|
|
|
$(MAKE) install DESTDIR=$(BUILD_TMP)/libiconv-$(LIBICONV_VER)/tmp |
|
|
|
cp -a $(BUILD_TMP)/libiconv-$(LIBICONV_VER)/tmp/bin/iconv $(TARGETPREFIX)/bin |
|
|
|
cp -a $(BUILD_TMP)/libiconv-$(LIBICONV_VER)/tmp/bin/iconv $(TARGET_DIR)/bin |
|
|
|
$(REMOVE)/libiconv-$(LIBICONV_VER) |
|
|
|
touch $@ |
|
|
|
|
|
|
|
$(D)/ofgwrite: $(SOURCE_DIR)/$(NI_OFGWRITE) | $(TARGETPREFIX) |
|
|
|
$(D)/ofgwrite: $(SOURCE_DIR)/$(NI_OFGWRITE) | $(TARGET_DIR) |
|
|
|
$(REMOVE)/$(NI_OFGWRITE) |
|
|
|
tar -C $(SOURCE_DIR) -cp $(NI_OFGWRITE) --exclude-vcs | tar -C $(BUILD_TMP) -x |
|
|
|
cd $(BUILD_TMP)/$(NI_OFGWRITE); \
|
|
|
|
$(BUILDENV) \
|
|
|
|
$(MAKE) && \
|
|
|
|
install -m 755 $(BUILD_TMP)/$(NI_OFGWRITE)/ofgwrite_bin $(TARGETPREFIX)/bin |
|
|
|
install -m 755 $(BUILD_TMP)/$(NI_OFGWRITE)/ofgwrite_tgz $(TARGETPREFIX)/bin |
|
|
|
install -m 755 $(BUILD_TMP)/$(NI_OFGWRITE)/ofgwrite $(TARGETPREFIX)/bin |
|
|
|
install -m 755 $(BUILD_TMP)/$(NI_OFGWRITE)/ofgwrite_bin $(TARGET_DIR)/bin |
|
|
|
install -m 755 $(BUILD_TMP)/$(NI_OFGWRITE)/ofgwrite_tgz $(TARGET_DIR)/bin |
|
|
|
install -m 755 $(BUILD_TMP)/$(NI_OFGWRITE)/ofgwrite $(TARGET_DIR)/bin |
|
|
|
$(REMOVE)/$(NI_OFGWRITE) |
|
|
|
touch $@ |
|
|
|
|
|
|
|
$(D)/aio-grab: $(D)/zlib $(D)/libpng $(D)/libjpeg | $(TARGETPREFIX) |
|
|
|
$(D)/aio-grab: $(D)/zlib $(D)/libpng $(D)/libjpeg | $(TARGET_DIR) |
|
|
|
$(REMOVE)/aio-grab |
|
|
|
cd $(BUILD_TMP); \
|
|
|
|
git clone git://github.com/oe-alliance/aio-grab.git aio-grab; \
|
|
|
@ -987,10 +987,10 @@ $(D)/aio-grab: $(D)/zlib $(D)/libpng $(D)/libjpeg | $(TARGETPREFIX) |
|
|
|
--enable-silent-rules \
|
|
|
|
; \
|
|
|
|
$(MAKE) all; \
|
|
|
|
$(MAKE) install DESTDIR=$(TARGETPREFIX) |
|
|
|
$(MAKE) install DESTDIR=$(TARGET_DIR) |
|
|
|
$(REMOVE)/aio-grab |
|
|
|
touch $@ |
|
|
|
|
|
|
|
$(D)/ca-bundle: $(ARCHIVE)/cacert.pem | $(TARGETPREFIX) |
|
|
|
install -D -m 644 $(ARCHIVE)/cacert.pem $(TARGETPREFIX)/$(CA_BUNDLE_DIR)/$(CA_BUNDLE) |
|
|
|
$(D)/ca-bundle: $(ARCHIVE)/cacert.pem | $(TARGET_DIR) |
|
|
|
install -D -m 644 $(ARCHIVE)/cacert.pem $(TARGET_DIR)/$(CA_BUNDLE_DIR)/$(CA_BUNDLE) |
|
|
|
touch $@ |
|
|
|